Docker basic commands | Docker Complete Series | Part -3 | Docker Tutorials | DevOps | Cloud-Native

Published: 03 August 2022
on channel: KubeKode
325
9

Basic commands in docker
To see all images present in your local machine
$ docker images
To find out images in docker hub
$ docker search jenkins
To download image from dockerhub to local machine
$ docker pull jenkins
If we want to create a container without running it immediately, we can use the Docker Create command below.
$ docker container create --name appserver python
To give name to container
$ docker run -it --name tush ubuntu /bin/bash
it means interactive mode to terminal
run command, creates container and starts it
To check service is start or not
$ Service docker status
$ docker info
start docker service
$ service docker start
stop service
$ service docker stop
To start container
$ docker start tush
To go inside container
$ docker attach tush
To see all containers
$ docker ps -a
To see only running containers
$ docker ps
ps - process status

To stop container
$ docker stop tush
To delete container
$ docker rm tush

IGNORE:

#programming #webdesign #code #web #development #computer #programming #coding #python #security #developer #java #software #webdevelopment #webdeveloper #javascript #programmer #html #robotics #computerscience #coder


On this page of the site you can watch the video online Docker basic commands | Docker Complete Series | Part -3 | Docker Tutorials | DevOps | Cloud-Native with a duration of hours minute second in good quality, which was uploaded by the user KubeKode 03 August 2022, share the link with friends and acquaintances, this video has already been watched 325 times on youtube and it was liked by 9 viewers. Enjoy your viewing!