docker run --name mynginx -d -p 8080:80 nginx
docker tag nginx editaxz/mynginx
docker login
Username:editaxz
Password:*******
docker push editaxz/mynginx
Create dockerfile , build and create the container
sudo nano dockerfile
docker build -t editaxz/surprise_image .
docker run -it editaxz/surprise_image
When you have enough, hold
Create dockerfile , build and create the container
sudo nano dockerfile
docker build -d -t editaxz/apache .
docker run --name apache -d -p 90:80 editaxz/apache
Create docker-compose.yml and up
sudo nano docker-compose.yml
docker-compose up
docker-machine --version
docker-machine create --driver virtualbox dev
docker-machine ls
docker-machine ssh dev
docker-machine stop dev
docker-machine rm dev