File tree 5 files changed +39
-31
lines changed
5 files changed +39
-31
lines changed Original file line number Diff line number Diff line change
1
+ # Run Docker commands without sudo
2
+
3
+ ##### 1. Add the ` docker ` group if it doesn't already exist
4
+
5
+ ``` console
6
+ $ sudo groupadd docker
7
+ ```
8
+
9
+ ##### 2. Add the connected user ` $USER ` to the docker group
10
+
11
+ Optionally change the username to match your preferred user.
12
+
13
+ ``` console
14
+ $ sudo gpasswd -a $USER docker
15
+ ```
16
+
17
+ ##### 3. Restart the ` docker ` daemon
18
+
19
+ ``` console
20
+ $ sudo service docker restart
21
+ ```
22
+
23
+ If you are on Ubuntu 14.04-15.10, use ` docker.io ` instead:
24
+
25
+ ``` console
26
+ $ sudo service docker.io restart
27
+ ```
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Use npm through a corporate proxy
2
+
3
+ In some situations you might need use ` npm install <cmd> ` over a HTTP proxy. Set the proxy URL in the global npm config to make it work:
4
+
5
+ ``` console
6
+ $ npm config set proxy http://proxy.company.com:8080
7
+ $ npm config set https-proxy http://proxy.company.com:8080
8
+ ```
Original file line number Diff line number Diff line change 10
10
- [ Install npm packages globally without sudo] ( npm-global-without-sudo.md ) * (OS X & Linux)*
11
11
- [ Run a Node.js server alongside Apache] ( run-node-server-alongside-apache.md ) * (Linux)*
12
12
- [ Launch app on startup] ( launch-app-on-startup-osx.md ) * (OS X)*
13
- - [ Use npm over corporate proxy] ( npm-over -proxy.md ) * (OS X & Linux)*
14
- - [ Run docker commands without sudo] ( docker_without_sudo .md) * (Linux)*
13
+ - [ Use npm through a corporate proxy] ( npm-proxy.md ) * (OS X & Linux)*
14
+ - [ Run Docker commands without sudo] ( docker-without-sudo .md) * (Linux)*
15
15
16
16
17
17
## Authors
18
+
18
19
[ Sindre Sorhus] ( http://sindresorhus.com ) ,
19
20
[ Frederick Ros] ( https://github.com/sleeper ) ,
20
21
[ Adam Brewer] ( https://github.com/adamcbrewer ) ,
21
22
[ Kevin Mårtensson] ( https://github.com/kevva ) ,
22
- [ Hedcler Morais] ( http ://github.com/hedcler) ,
23
+ [ Hedcler Morais] ( https ://github.com/hedcler) ,
23
24
You?
24
25
25
26
You can’t perform that action at this time.
0 commit comments