?????? ?????????????????? ???? ????????????

?????? ?????????????????? ???? ????????????

?????? 

?????? is an interface that allows users to interact with different electronic devices using icons and other visual indicators. The graphical user interfaces were created because command line interfaces were quite complicated and it was difficult to learn all the commands in it.

????????????

Docker is a set of platform as a service (PaaS) products that use OS-level virtualization to deliver software in packages called containers. Containers are isolated from one another and bundle their own software, libraries and configuration files; they can communicate with each other through well-defined channels.

???????? 1

???????????? ???????????? ????????????????????????, ?????????? ?????? ???????????? ?????????????? ?????????? ??????????????

"systemctl status docker"
No alt text provided for this image

???????? 2

???????? ?????????????????? ?? ?????????????????? ???? ???????? ?? ???????????? ??????????, ???????? ?? ???? ?????????? ???? ?????? "????????????" ??????????

"docker pull centos:latest"
No alt text provided for this image

???????? 3

?????????????? ?? ???????????? ??????????????????

"docker run -it --name GUI centos:latest"
No alt text provided for this image

???????? 4

???????????????? ?????? ??????????????????????, ???????? ?? ???? ???????????????????? ??????????????

"yum install firefox"
No alt text provided for this image

???????? 5

???????????????? ???? ???????????????????????? ??????????????????

No alt text provided for this image

???????? 6

???????? ?????????????? ???? ???????????? ?????????????????? ?????????? ??????????????

"firefox"
No alt text provided for this image

???????? ?????? ?????? ?????? ?????????????? ???? ?????? ?????????????? ???? ?? ??????????????????

???????? 7

???????? ???? ???????? ????, ???????? ?? ?????????????????? ?????? ?????????????? ?? ????????????????????

No alt text provided for this image

???????? 8

?????????? ?? ????????????????????

No alt text provided for this image

???????? 9

?????? ????????????????????, ?????? ?????? ?????????????????? ????????

"FROM centos:latest
RUN yum install firefox -y
CMD ["/usr/bin/firefox"]
No alt text provided for this image

???????? 10

???????????? ?? ???????????????????? 

"docker build -t firefox ."

???????? ????

"docker run -it --name Task2 --net=host --env="DISPLAY" firefox"
No alt text provided for this image
No alt text provided for this image

??????????, ?????? ?????????????????????? (??????????????) ???? ???????????????????????? ?????????????? ???? ?? ???????????? ??????????????????

No alt text provided for this image

?????????? ??????!!

要查看或添加评论,请登录

Chandni Ahuja的更多文章

社区洞察

其他会员也浏览了