히스토리
- †#온보딩 다시 설치 †#IoT#InternetofThings#아이오티 서버를 띄우려다보니 도커
BIBLIOGRAPHY
“Install Docker Engine on Ubuntu.” n.d. Docker Documentation. Accessed October 31, 2024. https://docs.docker.com/engine/install/ubuntu/.
“Post-Installation Steps 도커 리눅스 우분투 설치 필수 스텝.” 15AD. Docker Documentation. 15AD. https://docs.docker.com/engine/install/linux-postinstall/.
관련메타
관련링크
Install Docker Engine on Ubuntu
(“Install Docker Engine on Ubuntu” n.d.)
Jumpstart your client-side server applications with Docker Engine on Ubuntu. This guide details prerequisites and multiple methods to install Docker Engine on Ubuntu.
Post-Installation Steps 도커 리눅스 우분투 설치 필수 스텝
(“Post-Installation Steps 도커 리눅스 우분투 설치 필수 스텝” 15AD)
Find the recommended Docker Engine post-installation steps for Linux users, including how to run Docker as a non-root user and more.
2025 도커 설치 스크립트 점검
설치 이후 해야 할 일은?
(“Post-Installation Steps 도커 리눅스 우분투 설치 필수 스텝” 15AD)
도커 설치 후
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
docker run hello-world
DONT 로그
netns (1.2.1-1build2) 설정하는 중입니다 ...
docker-ce (5:28.3.0-1~ubuntu.24.04~noble) 설정하는 중입니다 ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
Unable to find image 'hello-world:latest' locally
latest: Pulling from library/hello-world
e6590344b1a5: Pull complete
Digest: sha256:940c619fbd418f9b2b1b63e25d8861f9cc1b46e3fc8b018ccfe8b78f19b8cc4f
Status: Downloaded newer image for hello-world:latest
Hello from Docker!
This message shows that your installation appears to be working correctly.
To generate this message, Docker took the following steps:
1. The Docker client contacted the Docker daemon.
2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
(amd64)
3. The Docker daemon created a new container from that image which runs the
executable that produces the output you are currently reading.
4. The Docker daemon streamed that output to the Docker client, which sent it
to your terminal.
To try something more ambitious, you can run an Ubuntu container with:
$ docker run -it ubuntu bash
Share images, automate workflows, and more with a free Docker ID:
https://hub.docker.com/
For more examples and ideas, visit:
https://docs.docker.com/get-started/
/etc/apt/sources.list.d🔒
2024 우분투 도커 설치 최신 버전
최신 버전 설치하는 방법
(“Install Docker Engine on Ubuntu” n.d.)
빌트인 버전 지우고
for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; do sudo apt-get remove $pkg; done
최신 버전 키등록
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
하모니카8.0 -> 우분투 24.04 맞춰줘라
noble
/etc/apt/sources.list.d🔒
cat docker.list
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu noble stable
/etc/apt/sources.list.d🔒
설치하고 테스트
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo docker run hello-world