I created a new portainer instance and after I started it for the first time with default settings, it crashed. Here is what was sent to build logs:
Container failed to start
=========================
We failed to create a container for this image.
Potential reasons for this happening are:
The start command is invalid.
Start command: docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest
The volume is mounted to a directory that is overriding the container's entrypoint.
Mount path: /portainer_data
Im not great with mounts so I'd really appreciate if someone could help me out with this 🙂