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'd like to thank you for this dind version for the arm32v7 architecture.
I tried to use it (mazzolino/docker and mazzolino/docker:20-dind) for a workaround in a swarm compose file but it failed.
Here is the output of sudo docker service ps stacktest_my-service-handler
srnt9hef1bj0 stacktest_my-service-handler.klzllydxi1y96ugyndv6pipdr mazzolino/docker:20-dind raspberrypi Ready Ready less than a second ago
kwcg0le1bx3z \_ stacktest_my-service-handler.klzllydxi1y96ugyndv6pipdr mazzolino/docker:20-dind raspberrypi Shutdown Failed 1 second ago "task: non-zero exit (127)"
kddvc0r4lf96 \_ stacktest_my-service-handler.klzllydxi1y96ugyndv6pipdr mazzolino/docker:20-dind raspberrypi Shutdown Failed 9 seconds ago "task: non-zero exit (127)"
5ua7tgry3w46 \_ stacktest_my-service-handler.klzllydxi1y96ugyndv6pipdr mazzolino/docker:20-dind raspberrypi Shutdown Failed 18 seconds ago "task: non-zero exit (127)"
tj2wblskr7as \_ stacktest_my-service-handler.klzllydxi1y96ugyndv6pipdr mazzolino/docker:20-dind raspberrypi Shutdown Failed 26 seconds ago "task: non-zero exit (127)" ```
Could you please tell me if I am using it wrongly.
Thank you in advance for your time and answer.
The text was updated successfully, but these errors were encountered:
@H-Sf You are trying to run docker compose from inside the dind container. That does not work because the container does not contain docker compose.
I am not sure what you want to achieve, but you should probably use your docker-compose.yml as a swarm compose file and then just change the service which needs to run privileged so it gets run as a container by the dind image.
Like this:
version: "3.7"services:
service1:
# ...service2:
# ...privileged_service:
image: mazzolino/docker:20-dindcommand: docker run --rm <YOUR PRIVILEGED IMAGE AND OPTIONS>volumes:
- /var/run/docker.sock:/var/run/docker.sock
(By the way, if you are posting code snippets here, please use the 3 backticks (```) notation.)
Thank you so much for your quick reply. It works perfectly now.
Thank you so much for this images created for arm32v7, it saved me.
In fact, I'm using raspberry pi 3 on a Pi-car so I need to access to the camera device.
It was working perfectly with docker-compose but when I tried to create a swarm cluster I found that the options --device and --privileged are not handled for security purposes.
I found a workaround suggested here and needed a Docker image for arm32v7 and found the one you gently proposed.
Hello Sir,
I'd like to thank you for this dind version for the arm32v7 architecture.
I tried to use it (mazzolino/docker and mazzolino/docker:20-dind) for a workaround in a swarm compose file but it failed.
Here is an extract from the compose file :
Here is the output of
sudo docker service ps stacktest_my-service-handler
The text was updated successfully, but these errors were encountered: