Skip to content

Commit 2646992

Browse files
mrjanamavenugo
authored andcommitted
Added powerstrip.md
Signed-off-by: Jana Radhakrishnan <[email protected]>
1 parent c4df1b9 commit 2646992

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

powerstrip.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Powerstrip mode
2+
3+
Using powerstrip mode of socketplane is simple and easy. If you are not using vagrant run "socketplane install" from the base directory of the socketplane workspace or just run scripts/install.sh to setup everything. If you are using vagrant no other extra steps are required.
4+
5+
Once socketplane is installed run new containers using the well known docker commands as below example shows:
6+
7+
sudo DOCKER_HOST=localhost:2375 docker run -itd ubuntu
8+
9+
If you want the containers to connect to different network just add a special environment variable as follows:
10+
11+
sudo DOCKER_HOST=localhost:2375 docker run -e SP_NETWORK=test -itd ubuntu
12+
13+
The above commands assumes that you have already created a network named "test" using the already existing socketplane commands.

0 commit comments

Comments
 (0)