Install the Docker

  1. The installation
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
Copy the code
  1. 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
  1. Restart raspberry Pie
sudo reboot
Copy the code

Obtaining the image File

  1. Pull the image file nextCloud
docker pull arm32v7/nextcloud
Copy the code
  1. 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
  1. Remove the container
docker rm arm32v7-nextcloud
Copy the code
  1. View existing containers
docker ps
docker ps -a
Copy the code
  1. 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