Academic Share of Docker

Academic Share of Docker

The container technique represented by Docker is becoming the new standard of application delivery operations. It is simple to try such a technique on PC. Follow me!

(1)Install Docker-machine:

brew install docker-machine

Or  $curl -L https://github.com/docker/machine/releases/download/v0.4.0/docker-machine_darwin-amd64 > /usr/local/bin/docker-machine

$ chmod +x /usr/local/bin/docker-machine

Introduction:It is a command line tool to simplify the installation of Docker. Docker can be installed on the corresponding platform through a simple command line, such as VirtualBox, Digital Ocean, and Microsoft Azure.

(2)Install docker

brew update brew install docker brew link docker brew link boot2docker

(3)Use

docker ssh test

For example,  nginx

docker pull nginx docker run -d -p 8000:80 nginx

View the current machine:

docker-machine ls

Build a dockermachine:

docker-machine create –driver virtualbox test

Related Post

Morse Code Door

Morse Code Door

Click Image to play video Imagine that when you arrive at home after a busy working day, you find that…

Leave a Reply

Your email address will not be published. Required fields are marked *

Skip to toolbar