-
Notifications
You must be signed in to change notification settings - Fork 0
Pulling and running the latest docker images from the repository
Johannes edited this page Feb 23, 2015
·
4 revisions
When Docker is installed, execution of the JobManager is easy!
First, pull the image from docker:
docker pull djbnjack/jmdocker
Then, run the image (interactively):
docker run --net=host --name="jobmanager" --rm=true -it djbnjack/jmdocker
What the parameters do here:
-
--net=host
is there so we do not have mess with containing networking (yet). -
--name="jobmanager"
gives the running container a friendly name (optional). -
--rm=true
deletes the running container when it is shut down. -
-it
runs the container interactively.
To run the docker on the background (for the mongobase or tests):
sudo docker run -d --net=host --name="mongodb" djbnjack/mongobase