Skip to content

Commit

Permalink
Added powerstrip.md
Browse files Browse the repository at this point in the history
Signed-off-by: Jana Radhakrishnan <mrjana@socketplane.io>
  • Loading branch information
mrjana committed Feb 7, 2015
1 parent ff6e643 commit c8474ac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions powerstrip.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Powerstrip mode

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.

Once socketplane is installed run new containers using the well known docker commands as below example shows:

sudo DOCKER_HOST=localhost:2375 docker run -itd ubuntu

If you want the containers to connect to different network just add a special environment variable as follows:

sudo DOCKER_HOST=localhost:2375 docker run -e SP_NETWORK=test -itd ubuntu

The above commands assumes that you have already created a network named "test" using the already existing socketplane commands.

0 comments on commit c8474ac

Please sign in to comment.