Public Repository

Last pushed: 10 months ago
Short Description
Ubuntu 16.04, rvm, ruby 2.3.0, mysql, redis
Full Description

Development using docker environment

To start and create a container using docker image
docker run -it -d --name freight -p 3000:3000 -v /home/pars/projects/freight:/freight freight /bin/bash

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

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

docker exec -it containerName /bin/bash

To start the already created container
docker start freight

docker start containerName

To stop the running container
docker stop freight

docker stop containerName

To login in to docker
docker login --username=parteeks
To push in to docker
docker push parteeks/freight
Docker Pull Command
Owner
parteeks

Comments (0)