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, ∼1275🔥, 0💬
Popular Posts:
How to view API details on the Publisher Dashboard of an Azure API Management Service? You can follo...
Why I am getting "The Windows SDK version 8.1 was not found" error, when building my C++ application...
How to use "xsl-transform" Azure API Policy Statement? The "xsl-transform" Policy Statement allows y...
Where to get the detailed description of the json_encode() Function in PHP? Here is the detailed des...
Where Is the Submitted Form Data Stored in PHP? When a user submit a form on your Web server, user e...