Docker service creation taking more time
hariharan1993 opened this issue · 1 comments
hariharan1993 commented
i'm new to this docker service creation please help me if i'm wrong , i executed this command
docker service create --name "testApp" -p 8000:8000 testApp , its taking too long time to execute so that my shell is getting timeout .
anything wrong am i doing here??
BretFisher commented
- you need a space between port and image name
-p 8000:8000 testApp
- I recommend reading up on services in the docs and then also look at the syntax for the command.