You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently attempting to deploy Portainer as part of a swarm on a local Vagrant environment (3 Ubuntu 16.04 machines, one manager and two workers). When I specify a volume to persist Portainer data the service continuously fails with task: non-zero exit (1) and when I run docker service logs I see the following error: invalid argument. The section of the stack YAML file pertaining to Portainer is like so:
It should also be noted that when I do not specify the volume for Portainer data the service runs with no issues at all.
Additional Info: The root of the portainer volume /volumes is within a shared folder on vagrant that has permissions set to 777 for both directory and file mode.
Any help anyone could give would be greatly appreciated. Thank you.
Steps to reproduce the issue:
Start Vagrant Environment (I can provide more details here if needed)
Run docker stack deploy
Technical details:
Portainer version: 1.14.2
Target Docker version (the host/cluster you manage): 17.06.2-ce
Platform (windows/linux): Ubuntu 16.04
Command used to start Portainer (docker run -p 9000:9000 portainer/portainer): Run in docker swarm (explained above)
Browser: Firefox Developer Edition
The text was updated successfully, but these errors were encountered:
I just tried creating the Portainer volume outside of the shared directory and the service started with no issues, so it looks like the permissions on the shared vagrant folder must have been causing the problem. I'll close this now and report back anymore findings.
Description
Hello,
I am currently attempting to deploy Portainer as part of a swarm on a local Vagrant environment (3 Ubuntu 16.04 machines, one manager and two workers). When I specify a volume to persist Portainer data the service continuously fails with task: non-zero exit (1) and when I run
docker service logs
I see the following error: invalid argument. The section of the stack YAML file pertaining to Portainer is like so:It should also be noted that when I do not specify the volume for Portainer data the service runs with no issues at all.
Additional Info: The root of the portainer volume
/volumes
is within a shared folder on vagrant that has permissions set to 777 for both directory and file mode.Any help anyone could give would be greatly appreciated. Thank you.
Steps to reproduce the issue:
docker stack deploy
Technical details:
docker run -p 9000:9000 portainer/portainer
): Run in docker swarm (explained above)The text was updated successfully, but these errors were encountered: