docker
-
[Docker] Docker NetworkingCloud/Openstack_K8s_Docker 2021. 2. 24. 18:51
1. Starting Nginx root@ubuntu:~# sudo docker run --name web1 -d -p 8080:80 nginx Unable to find image 'nginx:latest' locally latest: Pulling from library/nginx 45b42c59be33: Pull complete 8acc495f1d91: Pull complete ec3bd7de90d7: Pull complete 19e2441aeeab: Pull complete f5a38c5f8d4e: Pull complete 83500d851118: Pull complete Digest: sha256:f3693fe50d5b1df1ecd315d54813a77afd56b0245a404055a946574..
-
[Docker] Connecting two containers via OVSCloud/Openstack_K8s_Docker 2021. 2. 24. 16:39
To connect two containers via OVS. 1. Creating a container. terry@ubuntu:~$ sudo docker run -t -i --name container1 alpine Unable to find image 'alpine:latest' locally latest: Pulling from library/alpine ba3557a56b15: Pull complete Digest: sha256:a75afd8b57e7f34e4dad8d65e2c7ba2e1975c795ce1ee22fa34f8cf46f96a3be Status: Downloaded newer image for alpine:latest / # // now we are in a container. let..
-
[Docker] installation on Ubuntu 16.04.7 LTSCloud/Openstack_K8s_Docker 2021. 2. 24. 15:48
To test and make a lab for K8s(Kubernetes) - Installation: $ sudo apt install docker.io - Verification: $ sudo docker info terry@ubuntu:~$ sudo apt install docker.io Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: bridge-utils cgroupfs-mount containerd pigz runc ubuntu-fan Suggested packages: mountall a..