Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Just a quick demo to show some basic functions of Docker

Notifications You must be signed in to change notification settings

mohitbhardwaj5659/docker-quick-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

docker-quick-demo

Just a quick demo to show some basic functions of Docker

Pull an image

docker images 
docker pull busybox
docker images 

Start a container with this image

docker run busybox

Run it in interactive mode

docker run -it busybox
uname -a
ls
pwd
date
ifconfig
netstat -rn
exit
docker ps
docker ps -a
docker network ls
docker rmi busybox
docker run busybox
docker ps
docker ps -a
docker container rm <name>
docker run -it --name box1 busybox 
docker ps
docker ps -a
docker start box1
docker container ps -a
docker start -i box1
ifconfig
docker start -i box2
ifconfig 
ping <box1>
docker container ps -a
docker container rm box1
docker container ps -a
docker rmi busybox

About

Just a quick demo to show some basic functions of Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published