Skip to main content

Docker

Spin up a temporary local instance of OpenCloud using Docker

Prerequisites

  • Linux, Mac or Windows Subsystem for Linux (WSL)
  • Docker

Create Required Directories for Bind Mounts

mkdir -p $HOME/opencloud/opencloud-config
mkdir -p $HOME/opencloud/opencloud-data

Pull OpenCloud Image

docker pull opencloudeu/opencloud-rolling:latest

Initialize OpenCloud (First-time Setup)

docker run --rm -it \
-v $HOME/opencloud/opencloud-config:/etc/opencloud \
-v $HOME/opencloud/opencloud-data:/var/lib/opencloud \
-e IDM_ADMIN_PASSWORD=admin \
opencloudeu/opencloud-rolling:latest init

You can set your own password using IDM_ADMIN_PASSWORD=your_password. If not set, a password will be auto-generated

Admin general

Start OpenCloud

docker run \
--name opencloud \
--rm \
-d \
-p 9200:9200 \
-v $HOME/opencloud/opencloud-config:/etc/opencloud \
-v $HOME/opencloud/opencloud-data:/var/lib/opencloud \
-e OC_INSECURE=true \
-e PROXY_HTTP_ADDR=0.0.0.0:9200 \
-e OC_URL=https://localhost:9200 \
opencloudeu/opencloud-rolling:latest

Login

Login with your browser:

Admin general

Conclusion

Your OpenCloud server is now running and ready to use 🚀

Troubleshooting

If you encounter any issues or errors, try finding a solution here: