Delete previous version
=============================================
> sudo apt-get remove docker docker-engine docker.io containerd runc
Repository Set
=============================================
> sudo apt-get update
> sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
Add GPG key
=============================================
> curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add
Add Repository
=============================================
> sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
Install Docker
=============================================
> sudo apt-get update
> sudo apt-get install docker-ce docker-ce-cli
Confirm
=============================================
> sudo usermod -aG docker <your-username>
Log Out & Log in
=============================================
> docker info
Results
=============================================
Client:
Context: default
Debug Mode: false
Plugins:
app: Docker App (Docker Inc., v0.9.1-beta3)
buildx: Build with BuildKit (Docker Inc., v0.5.1-docker)
scan: Docker Scan (Docker Inc., v0.7.0)
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 0
Server Version: 20.10.6
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: io.containerd.runtime.v1.linux runc io.containerd.runc.v2
Default Runtime: runc
Init Binary: docker-init
containerd version: xxx
runc version: xxx
init version: de40ad0
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.15.0-143-generic
Operating System: Ubuntu 18.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 3.742GiB
Name: xxx
ID: xxx
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
'Python' 카테고리의 다른 글
파이썬 10진수, 8진수, 16진수, 2진수 입력, 출력 방법 (0) | 2022.05.16 |
---|---|
signed int를 unsigned형 정수로 변환 캐스팅 함수 (0) | 2022.05.16 |
Python signed/unsigned 처리 (0) | 2022.05.16 |
Python Code: Sigmoid Funtion (0) | 2022.05.16 |
Genie 음원 사이트 순위 긁기 (0) | 2021.05.24 |
댓글