Installation
- brew install docker docker-machine
- brew install docker-machine
Creating the virtual Box
- docker-machine
- docker-machine start
- docker-machine create -d virtualbox default
CLI
- docker-machine ls
- which docker
- docker-machine env
- docker ps
- brew install docker
- which docker
- docker ps
- docker env vijay
- docker-machine env vijay
- docker-machine env default
- eval(docker-machine env)
- eval (docker-machine env)
- eval (docker-machine env default)
Connecting to Docker
- docker-machine ssh
- bash
- docker-machine images
- docker images
- docker-machine ssh
Run images
- docker run --rm --name
- docker run --rm --name -v (mount volume from other containers)
Other Commands
- onbuild
- cmd
- exec
- run
No comments:
Post a Comment