Tools, FAQ, Tutorials:
"docker container start" - Start Alpine Container
How to Start Alpine Container with the "docker container start" command?
✍: FYIcenter.com
If you want to start the Alpine container with its default command,
you can use the "docker container start" command.
1. Run "docker container start" command with console attached and interactively. You see no output messages on the console.
fyicenter$ docker container start --attach --interactive my_alpine
2. Check the container status.
fyicenter$ docker container list --latest CONTAINER ID IMAGE COMMAND CREATED STATUS NAMES fddc7452d4f6 alpine "/bin/sh" About a minute ago Exited (0) 5 seconds ago my_alpine
As you can see, the default command, "/bin/sh", starts a shell and exits immediately. So the default command is doing nothing.
⇒ "docker container run" - Create Container with New Command
⇐ "docker container create alpine" - Create Alpine Container
2019-02-12, 1156🔥, 0💬
Popular Posts:
How to add a new operation to an API on the Publisher Dashboard of an Azure API Management Service? ...
How to reinstall npm with a node version manager? I am getting permission errors with the current ve...
How to add request query string Parameters to my Azure API operation to make it more user friendly? ...
How to use .NET CLR Types in Azure API Policy? By default, Azure imports many basic .NET CLR (Common...
What is EPUB 2.0 Metadata "dc:creator" and "dc:contributor" elements? EPUB 2.0 Metadata "dc:creator"...