Docker
Docker Commands
Docker version
Docker search
Docker pull
Docker run
Docker ps
Docker stop
Docker restart
Docker kill
Docker exec
Docker login
Docker commit
Docker push
Docker network
Docker history
Docker rmi
Docker ps -a
Docker copy
Docker logs
Docker volume
Docker logout
command Example
docker pull python
docker run python
docker ps
docker ps -a
docker run --name pythoncontainer -d python
docker exec -it 8976c759e58f python3
docker inspect 8976c759e58f(container ID)
docker run --name JavaContainer -it -d openjdk
docker exec -it JavaContainer jshell
docker pull mysql
docker images
docker run --name mysqlDB -e MYSQL_ROOT_PASSWORD=root -d mysql
docker ps
docker exec -it mysqlDB bash
mysql -p (Enter the password)
docker pull nginx
docker run --name nginxServer -d -p 8080:80 nginx
docker ps
Docker Study