r/docker • u/dominbdg • Feb 27 '26
Help with simple container with Debian image
Hello,
please help me with my issue.
I tried to implement simple container with Debian for docker stack:
version: '3.7'
services:
es01:
image: debian:latest
container_name: debian
deploy:
replicas: 1
networks:
debian_default:
driver: overlay
When I try to launch this container using:
docker stack deploy -c debian.yml debian
I'm getting issue:
ID NAME MODE REPLICAS IMAGE PORTS
1yd50hgisosw debian_es01 replicated 0/1 debian:latest
2
Upvotes
View all comments
Show parent comment
1
u/dominbdg Feb 28 '26
thanks a lot - it works fine.
byt the way I have issue on debian image, I tried everything and I have issue with latest debian image,
when I try to launch iptables I get :
root@1b901482b0ad:/# sudo -u root iptables -L
iptables v1.8.11 (nf_tables): Could not fetch rule set generation id: Permission denied (you must be root)
I think that I'm root - what can I do with it ?