Hi everyone,
I have installed portainer on my Synology NAS by running this command.
The container is setup and running.
I can monitor, start, stop, restart, delete my containers, volumes, networks, etc. without any issues.
Nervertheless, when I want to create a new stack with my docker compose yaml, it results in an error.
The image is downloaded, the container created and then BOOM.
Does anyone alreay faced it? Any hints how to solve it?
Thanks for your help
I have installed portainer on my Synology NAS by running this command.
Bash:
sudo docker run -d \
--name=portainer \
--restart=always \
-p 8000:8000 \
-p 9000:9000 \
-e PUID=1026 \
-e PGID=100 \
-e TZ=Europe/Paris \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /volume1/docker/portainer:/data \
portainer/portainer
The container is setup and running.
I can monitor, start, stop, restart, delete my containers, volumes, networks, etc. without any issues.
Nervertheless, when I want to create a new stack with my docker compose yaml, it results in an error.
The image is downloaded, the container created and then BOOM.
Code:
Error response from daemon: OCI runtime create failed: container_linux.go:345: starting container process caused “process_linux.go:430: container init caused \”process_linux.go:396: setting cgroup config for procHooks process caused \\\”failed to write 0 to memory.swappiness: write /sys/fs/cgroup/memory/docker/218204415accffd3a31eab9e8073c82fa6afec9720518eac1ba4caa366944f4c/memory.swappiness: invalid argument\\\”\””: unknown
Does anyone alreay faced it? Any hints how to solve it?
Thanks for your help