?????? ?????????????????? ???? ????????????
Chandni Ahuja
DevOps Engineer | Immediate Joiner | Driving Cloud Efficiency with AWS, Docker and Kubernetes | Proficient in Cloud Infrastructure Automation with Terraform
??????
?????? 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"
???????? 2
???????? ?????????????????? ?? ?????????????????? ???? ???????? ?? ???????????? ??????????, ???????? ?? ???? ?????????? ???? ?????? "????????????" ??????????
"docker pull centos:latest"
???????? 3
?????????????? ?? ???????????? ??????????????????
"docker run -it --name GUI centos:latest"
???????? 4
???????????????? ?????? ??????????????????????, ???????? ?? ???? ???????????????????? ??????????????
"yum install firefox"
???????? 5
???????????????? ???? ???????????????????????? ??????????????????
???????? 6
???????? ?????????????? ???? ???????????? ?????????????????? ?????????? ??????????????
"firefox"
???????? ?????? ?????? ?????? ?????????????? ???? ?????? ?????????????? ???? ?? ??????????????????
???????? 7
???????? ???? ???????? ????, ???????? ?? ?????????????????? ?????? ?????????????? ?? ????????????????????
???????? 8
?????????? ?? ????????????????????
???????? 9
?????? ????????????????????, ?????? ?????? ?????????????????? ????????
"FROM centos:latest
RUN yum install firefox -y
CMD ["/usr/bin/firefox"]
???????? 10
???????????? ?? ????????????????????
"docker build -t firefox ."
???????? ????
"docker run -it --name Task2 --net=host --env="DISPLAY" firefox"
??????????, ?????? ?????????????????????? (??????????????) ???? ???????????????????????? ?????????????? ???? ?? ???????????? ??????????????????
?????????? ??????!!