OPERATING SYSTEMSOS Linux

Install Docker and Hello-Docker image and Ubuntu-Doker image

Install Docker and Hello-Docker image and Ubuntu-Doker image

0:10 – create a folder on the desktop called Hello docker, we will install our Hello docker project there
0:47 – create a Hello docker project in Visual Studio
2:08 – we create a node
5:29 – we all launched Hello Docker Now we see that the container is launched first
7:31 – install Docker itself on the computer
14:00 – problems with access to the Docker folder on the computer, we solve the problem with access by various means
17:30 – we also install an additional Hello Docker image from another resource
19:50 – we are now installing a container from the Ubuntu image from the DockerHub site
21:00 – now we start a image with the riot system and connect to it as root

Linux commands:
mkdir hello-docker
cd hello-docker
node app.js
docker run hello-docker
sudo docker run hello-docker
ls
image ls
docker image ls
sudo snap install docker
docker image ls
sudo docker run hello-docker .
node app.js
docker build -t hello-docker
start a build
sudo chmod 400 /var/run/docker.sock
sudo su – root
cd ./
docker version
docker pull codewithmosh/hello-docker
docker run codewithmosh/hello-docker
docker run ubuntu
docker ps
docker ps -a
docker run -it ubuntu

source

ubuntu