Docker tutorials

Docker 


Pull the image


sudo docker pull ubuntu

sudo docker run ubuntu apt-get install -y ping

Then get the container id using this command:

sudo docker ps -l

Commit changes to the container:

sudo docker commit  iman/ping 

Expose the port 

docker run -p 9200:9200 elasticsearch 

Then run the container:

Comments

Popular posts from this blog

Proxy setting in java

Using logstash to import csv json files into elasticsearch

Kibana 4 Installation and Run as a service in ubuntu