Install Docker Engine on Ubuntu¶
- Updated at 23.10.16
- Update apt package manager
- Install prerequisite package for docker
- Add Docker's GPG key
- Set up the repository of stable version
- Install Docker engine
- Verify that the Docker Engine installation is successful by running the hello-world image
Set up the manage docker as a non-root user¶
현재는 모든 docker 작업 권한이 root 유저에게만 있으므로 sudo
를 붙여주어야 한다.
따라서, root 유저가 아닌 host의 기본 유저에게도 권한을 주기 위해 추가적인 설정이 필요하다.
1. Add your user to the docker group.
2. (VM Restart)
3. Verify that you can run docker commands without
sudo
Quote
- Docker document
Docker-install-ubuntu-Link- Method
I'm choose <Install using the repository>
- Method
- Docker document
Docker-post-installation-steps