Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Docker service in swarm fails with error ask: non-zero exit (1)

When we run command :

docker service create --name [name] --with-registry-auth image-name

Services fails with Error - non-zero exit (1)

docker version - Docker version 1.12.2

like image 700
user5702955 Avatar asked Dec 06 '17 09:12

user5702955


Video Answer


1 Answers

try docker service logs [name] to get a more detailed message why your service failed.

like image 60
Markus Avatar answered Oct 30 '22 20:10

Markus