R
Railwayβ€’14mo ago
celebrations

Portainer Not Starting

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 πŸ™‚
Solution:
okay then you can completely disregard that template, it seems that someone didn't quite understand what they where doing. 1. you can't use docker run in the start command 2. you can't access the underlying docker deamon, so it's useless on railway...
Jump to solution
19 Replies
Percy
Percyβ€’14mo ago
Project ID: 25f6cdf8-90e3-4387-9483-3e138eba41cc
celebrations
celebrationsOPβ€’14mo ago
25f6cdf8-90e3-4387-9483-3e138eba41cc
Brody
Brodyβ€’14mo ago
you're using the template right?
celebrations
celebrationsOPβ€’14mo ago
yes i am
Brody
Brodyβ€’14mo ago
and that's the default start command?
Solution
Brody
Brodyβ€’14mo ago
okay then you can completely disregard that template, it seems that someone didn't quite understand what they where doing. 1. you can't use docker run in the start command 2. you can't access the underlying docker deamon, so it's useless on railway
celebrations
celebrationsOPβ€’14mo ago
thats what i was thinking lol im not entierly sure how they got this to work
Brody
Brodyβ€’14mo ago
they didn't
celebrations
celebrationsOPβ€’14mo ago
you got any ideas then?
Brody
Brodyβ€’14mo ago
it can't work
celebrations
celebrationsOPβ€’14mo ago
alright btw while you're here if i have a docker container right and i want to deploy it onto railway does it just work out of thebox
Brody
Brodyβ€’14mo ago
depends
celebrations
celebrationsOPβ€’14mo ago
like say a nodejs container
Brody
Brodyβ€’14mo ago
is the image publicly available from either dockerhub or ghcr?
celebrations
celebrationsOPβ€’14mo ago
yep
Brody
Brodyβ€’14mo ago
would it run if railway built the app itself
celebrations
celebrationsOPβ€’14mo ago
yep idek what im asking anymore i dont understand docker a ton and am more confused than when i started thanks for the help though
Brody
Brodyβ€’14mo ago
lol okay
Want results from more Discord servers?
Add your server