03-13-2023, 04:44 AM
A. install docker on KC868-Server CM4 on raspberry pi OS
1. sudo curl -sSL https://get.docker.com | sh
2. sudo docker run hello-world
this test whether docker install correct.
3. sudo systemctl daemon-reload
4. sudo systemctl docker
5. sudo systemctl start docker
B. install GUI portainer
1. sudo docker pull portainer/portainer
2. sudo docker volume create portainer_data
3. docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
4. login web browser by http://ip:9000
1. sudo curl -sSL https://get.docker.com | sh
2. sudo docker run hello-world
this test whether docker install correct.
3. sudo systemctl daemon-reload
4. sudo systemctl docker
5. sudo systemctl start docker
B. install GUI portainer
1. sudo docker pull portainer/portainer
2. sudo docker volume create portainer_data
3. docker run -d -p 9000:9000 --name portainer --restart always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
4. login web browser by http://ip:9000