Public Repository

Last pushed: 10 months ago
Short Description
Ubuntu 16.04, mysql-server, redis-server, rvm, ruby-2.2.1
Full Description
To start and create a container using docker image
docker run -it -d --name delivery -p 4000:4000 -v /home/pars/projects/delivery:/delivery delivery /bin/bash

docker run -it -d --name containerName -p 4000:4000 -v hostDirectory:/containerDirectory imageName /bin/bash

To attach to the already started container
docker exec -it delivery /bin/bash

docker exec -it containerName /bin/bash

To start the already created container
docker start delivery

docker start containerName

To stop the running container
docker stop delivery

docker stop containerName

Docker Pull Command
Owner
parteeks

Comments (0)