Install the Docker
- The installation
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
Copy the code
- Add the current user to the Docker group. (Sudo is added to any docker command if not added)
sudo usermod -aG docker $USER
Copy the code
- Restart raspberry Pie
sudo reboot
Copy the code
Obtaining the image File
- Pull the image file nextCloud
docker pull arm32v7/nextcloud
Copy the code
- Start the container
docker run -d --name arm32v7-nextcloud -p 8080:80 arm32v7/nextcloud
Copy the code
Access port 8080 of raspberry PI to see the interface shown above
docker stop arm32v7-nextcloud
Copy the code
- Remove the container
docker rm arm32v7-nextcloud
Copy the code
- View existing containers
docker ps
docker ps -a
Copy the code
- Viewing a Local Mirror
docker images
Copy the code
Thank you: www.jianshu.com/p/799178d54… Juejin. Cn/post / 684490… Juejin. Cn/post / 684490… hub.docker.com/u/arm32v7