Containers · about 1 min · 3 steps
Start, stop or restart a container
Starts, stops or restarts one Docker container by name.
Runs on
- Debian / Ubuntu: supported
- RHEL / Fedora: supported
- Alpine: supported
Before you start
- Run the Docker Engine and Compose workflow first.
What it changes on your server
- Starts, stops or restarts the container you name. A stopped container's data is kept; it doesn't start again on its own unless its restart policy says so.
What Shellbay asks you
Which container, and what to do?
Enter the container's name as Docker status lists it. Stopping a container takes its service offline until you start it again.
- Container name
- Text, up to 128 characters
- Action
- One of: start, stop, restart. Default:
restart
Example:
web-1
Steps
- Find the container
- Do it
- Check its state
Shellbay checks the server before the first step, and stops at the first step that fails.
When it's done
- ‹container name›: ‹action› done. See its output with Docker container logs.