RUVIDEO
Поделитесь видео 🙏

Working with Docker on Linux | Docker Linux tutorial | Docker on Linux | Tutorial-3

In this video tutorial, we will start working with container using Docker on Linux, so first we will get more familiar with some Linux command like sudo and sudo bash, understanding the different between apt-get and Yum, installing and uninstalling Docker, pull images from Docker-Hub, run container with “docker run”, list all the running container in the machine by “docker ps” see all the container from the host machine using process tree or pstree and many others

For more info about DevOps, Azure DevOps ,VSTS, Software Testing, Dynamics 365, visit my blog: https://mohamedradwan.com
----------------------------------------------------------------------------------------

All commands used in this video:

$ sudo

Clean screen
$ Reset or clear

Type docker without sudo and without installing docker

$ docker


Install docker
$ sudo apt-get update && sudo apt-get install -y docker.io

Now type docker again
$ docker

List all images of docker
$ docker images


“Got permission denied”, now we understand we need to use sudo with every command as we don’t have permission without sudo, so let’s list all images of docker using sudo

List all images of docker
$ sudo docker images

Type sudo bash so we don’t need to type sudo with each command
$ sudo bash

Type exit to exit from the root user
# exit

sudo allows users to run programs with the security privileges of another user (normally the superuser, or root).
bash starts a new bash shell.
So, sudo bash starts a new bash shell with the security privilege of root user.



Run hello world image to know we are working correctly
$ sudo docker run hello-world

Uninstall docker then install docker again
$ sudo apt-get remove docker docker-engine docker.io

Try to see docker help
$ sudo docker run --help


Type docker ps (process) to see all running images (no images running)
$ sudo docker ps


Go to Docker hub
https://hub.docker.com/explore/

Select nginx image and see the pull command

Pull this image from Docker hub
$ sudo docker pull nginx


List docker images
$ sudo docker images


Run the container of nginx image
$ sudo docker run nginx

From another PuTTy see Docker process, you should see now nginx container is running
$ sudo docker ps


On the root, access the process tree, you should see the running container and what is inside
$ sudo pstree

Stop the container by type docker stop and give the container ID which you can get from docker images
$ sudo docker stop ee3434341

About the Author
-----------------------------
Video:
https://www.youtube.com/watch?v=3Na_5DjFb8g
Blog:
https://mohamedradwan.com
Linked-in
https://eg.linkedin.com/in/mohamedahmedradwan
GitHub
https://github.com/DevOpsFounder
Twitter:
https://twitter.com/mradwan06

If you want to know more about maintaining the backlog in a proper way, you can visit the following post: Key Tips For Maintaining Good Product Backlog in Agile and Scrum. The post describes a way to efficiently organize the backlog items allowing you to understand the requirements better, and providing you with higher level of detail of what is actually expected from the work or delivery perspective, have a look on the following post:
http://mohamedradwan.com/2017/11/30/key-tips-for-maintaining-good-product-backlog-in-agile-and-scrum/

#DockerLinux #Dockerlinuxtutorial #Docker #Linux

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Working with Docker on Linux | Docker Linux tutorial | Docker on Linux | Tutorial-3», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.