profile
viewpoint

Ask questions"docker stack deploy">"rpc error: code = 3 desc = name must be valid as a DNS name component"

[root@master busybox]# docker stack deploy -c docker-compose.yml test Creating service test_busybox1.24 Error response from daemon: rpc error: code = 3 desc = name must be valid as a DNS name component

[root@master busybox]# cat docker-compose.yml version: "3" services: busybox1.24: image: hub.c.163.com/library/busybox:1.24

Thanks!

moby/moby

Answer questions akki

Also, it cannot end with an _ as I found out today. Hope that saves someone else's time 😅

useful!
source:https://uonfu.com/
Github User Rank List