Skip to content

Docker - Containers

Docker Command Button Set

Other / vendor neutral Requires SmartCom Revisited 1.2.0 or newer

by Nathan Kirk · 62 downloads · MIT licence · revision 2 · published 14 Aug 2026

Expects 1 global variable

These are values you set once in SmartCom Revisited, under Global variables. The uploader's own values are not in this file — that is the point of using them — so you have to supply your own before the buttons below will do what they say.

{{end}}
The uploader has not said what this should contain. Used by Get Container IP.

Needs SmartCom Revisited 1.2.0 or newer. On an older build, or on any build where you have not set the name, the placeholder is sent to the device exactly as written — wget {{end}} — rather than being replaced. How global variables work.

This bundle can change or destroy device state

  • Recursive or forced file deletion (4 steps) — Deletes files recursively or writes directly to a block device on a Linux-style host.
  • Stops or disables a service (2 steps) — Stops something that is currently running on the host.
Show exactly which steps matched
  • Force Remove Container — Recursive or forced file deletion (steps[0], sent text)

    docker rm -f {{CONTAINER}}
  • Compose Remove Stopped — Recursive or forced file deletion (steps[0], sent text)

    docker compose rm -f {{SERVICE}}
  • Force Remove Volume — Recursive or forced file deletion (steps[0], sent text)

    docker volume rm -f {{VOLUME}}
  • Remove All Containers — Recursive or forced file deletion (steps[0], sent text)

    docker rm -f $(docker ps -aq)
  • Stop Docker Service — Stops or disables a service (steps[0], sent text)

    sudo systemctl stop docker
  • Disable Docker at Boot — Stops or disables a service (steps[0], sent text)

    sudo systemctl disable docker

Flagged automatically by matching command text. It is a prompt to read the script, not a verdict — plenty of legitimate buttons reboot things on purpose.

Download

10 sets, 170 buttons, 170 steps · 165.7 KB

File format version 1 · exported by Smartcom Revisited

Download .buttons.json
SHA-256 9c492d680931809e97f05e655b8fd71757ba9496ba0d4272febcf76c6486e215

You get the exact file the uploader submitted, byte for byte — that checksum is what sha256sum will print. Import it from the button panel in SmartCom Revisited.

About this set

Quick-access buttons for managing Docker containers, images, Compose applications, networks, volumes, registries, logs, cleanup, contexts, services, and Swarm operations.

Every button, in full

Exactly what gets sent

This is the complete script of the file below — nothing is summarised or hidden. Read it before you download it, the same way you would read a script someone emailed you.

Docker - Containers

26 buttons

Run, stop, exec into and inspect containers.

List Running Containers

Run: docker ps

1 step

  1. Send
    docker ps

    Sends Enter afterwards.

List All Containers

Run: docker ps -a

1 step

  1. Send
    docker ps -a

    Sends Enter afterwards.

List Container IDs

Run: docker ps -q

1 step

  1. Send
    docker ps -q

    Sends Enter afterwards.

Start Container

Run: docker start {{CONTAINER}}

1 step · 1 input

  1. Send
    docker start {{CONTAINER}}

    Sends Enter afterwards.

Stop Container

Run: docker stop {{CONTAINER}}

1 step · 1 input

  1. Send
    docker stop {{CONTAINER}}

    Sends Enter afterwards.

Restart Container

Run: docker restart {{CONTAINER}}

1 step · 1 input

  1. Send
    docker restart {{CONTAINER}}

    Sends Enter afterwards.

Pause Container

Run: docker pause {{CONTAINER}}

1 step · 1 input

  1. Send
    docker pause {{CONTAINER}}

    Sends Enter afterwards.

Unpause Container

Run: docker unpause {{CONTAINER}}

1 step · 1 input

  1. Send
    docker unpause {{CONTAINER}}

    Sends Enter afterwards.

Kill Container

Run: docker kill {{CONTAINER}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker kill {{CONTAINER}}

    Sends Enter afterwards.

Remove Container

Run: docker rm {{CONTAINER}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker rm {{CONTAINER}}

    Sends Enter afterwards.

Force Remove Container

Run: docker rm -f {{CONTAINER}}

1 step · asks for confirmation before it runs · 1 input

  • Recursive or forced file deletion
  1. Send
    docker rm -f {{CONTAINER}}

    Sends Enter afterwards.

Rename Container

Run: docker rename {{CONTAINER}} {{NEW_NAME}}

1 step · 2 inputs

  1. Send
    docker rename {{CONTAINER}} {{NEW_NAME}}

    Sends Enter afterwards.

Enter Container (Bash)

Run: docker exec -it {{CONTAINER}} bash

1 step · 1 input

  1. Send
    docker exec -it {{CONTAINER}} bash

    Sends Enter afterwards.

Enter Container (sh)

Run: docker exec -it {{CONTAINER}} sh

1 step · 1 input

  1. Send
    docker exec -it {{CONTAINER}} sh

    Sends Enter afterwards.

Run Command in Container

Run: docker exec -it {{CONTAINER}} {{COMMAND}}

1 step · 2 inputs

  1. Send
    docker exec -it {{CONTAINER}} {{COMMAND}}

    Sends Enter afterwards.

Copy File Into Container

Run: docker cp {{SOURCE_PATH}} {{CONTAINER}}:{{DEST_PATH}}

1 step · 3 inputs

  1. Send
    docker cp {{SOURCE_PATH}} {{CONTAINER}}:{{DEST_PATH}}

    Sends Enter afterwards.

Copy File From Container

Run: docker cp {{CONTAINER}}:{{SOURCE_PATH}} {{DEST_PATH}}

1 step · 3 inputs

  1. Send
    docker cp {{CONTAINER}}:{{SOURCE_PATH}} {{DEST_PATH}}

    Sends Enter afterwards.

Create Container

Run: docker create --name {{CONTAINER}} {{IMAGE}}

1 step · 2 inputs

  1. Send
    docker create --name {{CONTAINER}} {{IMAGE}}

    Sends Enter afterwards.

Run Container Detached

Run: docker run -d --name {{CONTAINER}} {{IMAGE}}

1 step · 2 inputs

  1. Send
    docker run -d --name {{CONTAINER}} {{IMAGE}}

    Sends Enter afterwards.

Run Container Interactive

Run: docker run --rm -it {{IMAGE}} {{COMMAND}}

1 step · 2 inputs

  1. Send
    docker run --rm -it {{IMAGE}} {{COMMAND}}

    Sends Enter afterwards.

Run With Port Mapping

Run: docker run -d --name {{CONTAINER}} -p {{HOST_PORT}}:{{CONTAINER_PORT}} {{IMAGE}}

1 step · 4 inputs

  1. Send
    docker run -d --name {{CONTAINER}} -p {{HOST_PORT}}:{{CONTAINER_PORT}} {{IMAGE}}

    Sends Enter afterwards.

Run With Volume

Run: docker run -d --name {{CONTAINER}} -v {{HOST_PATH}}:{{CONTAINER_PATH}} {{IMAGE}}

1 step · 4 inputs

  1. Send
    docker run -d --name {{CONTAINER}} -v {{HOST_PATH}}:{{CONTAINER_PATH}} {{IMAGE}}

    Sends Enter afterwards.

Run With Environment Variable

Run: docker run -d --name {{CONTAINER}} -e {{ENV_NAME}}={{ENV_VALUE}} {{IMAGE}}

1 step · 4 inputs

  1. Send
    docker run -d --name {{CONTAINER}} -e {{ENV_NAME}}={{ENV_VALUE}} {{IMAGE}}

    Sends Enter afterwards.

Wait for Container

Run: docker wait {{CONTAINER}}

1 step · 1 input

  1. Send
    docker wait {{CONTAINER}}

    Sends Enter afterwards.

Show Container Changes

Run: docker diff {{CONTAINER}}

1 step · 1 input

  1. Send
    docker diff {{CONTAINER}}

    Sends Enter afterwards.

Export Container

Run: docker export -o {{FILE_PATH}} {{CONTAINER}}

1 step · 2 inputs

  1. Send
    docker export -o {{FILE_PATH}} {{CONTAINER}}

    Sends Enter afterwards.

Docker - Images & Builds

23 buttons

Build, tag, pull, push and prune images.

List Images

Run: docker images

1 step

  1. Send
    docker images

    Sends Enter afterwards.

List All Images

Run: docker images -a

1 step

  1. Send
    docker images -a

    Sends Enter afterwards.

Pull Image

Run: docker pull {{IMAGE}}

1 step · 1 input

  1. Send
    docker pull {{IMAGE}}

    Sends Enter afterwards.

Push Image

Run: docker push {{IMAGE}}

1 step · 1 input

  1. Send
    docker push {{IMAGE}}

    Sends Enter afterwards.

Build Image

Run: docker build -t {{IMAGE}} .

1 step · 1 input

  1. Send
    docker build -t {{IMAGE}} .

    Sends Enter afterwards.

Build From Dockerfile

Run: docker build -f {{DOCKERFILE}} -t {{IMAGE}} {{CONTEXT}}

1 step · 3 inputs

  1. Send
    docker build -f {{DOCKERFILE}} -t {{IMAGE}} {{CONTEXT}}

    Sends Enter afterwards.

Build Without Cache

Run: docker build --no-cache -t {{IMAGE}} {{CONTEXT}}

1 step · 2 inputs

  1. Send
    docker build --no-cache -t {{IMAGE}} {{CONTEXT}}

    Sends Enter afterwards.

Build With Argument

Run: docker build --build-arg {{ARG_NAME}}={{ARG_VALUE}} -t {{IMAGE}} {{CONTEXT}}

1 step · 4 inputs

  1. Send
    docker build --build-arg {{ARG_NAME}}={{ARG_VALUE}} -t {{IMAGE}} {{CONTEXT}}

    Sends Enter afterwards.

Tag Image

Run: docker tag {{SOURCE_IMAGE}} {{TARGET_IMAGE}}

1 step · 2 inputs

  1. Send
    docker tag {{SOURCE_IMAGE}} {{TARGET_IMAGE}}

    Sends Enter afterwards.

Remove Image

Run: docker rmi {{IMAGE}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker rmi {{IMAGE}}

    Sends Enter afterwards.

Force Remove Image

Run: docker rmi -f {{IMAGE}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker rmi -f {{IMAGE}}

    Sends Enter afterwards.

Image History

Run: docker history {{IMAGE}}

1 step · 1 input

  1. Send
    docker history {{IMAGE}}

    Sends Enter afterwards.

Inspect Image

Run: docker image inspect {{IMAGE}}

1 step · 1 input

  1. Send
    docker image inspect {{IMAGE}}

    Sends Enter afterwards.

Save Image

Run: docker save -o {{FILE_PATH}} {{IMAGE}}

1 step · 2 inputs

  1. Send
    docker save -o {{FILE_PATH}} {{IMAGE}}

    Sends Enter afterwards.

Load Image

Run: docker load -i {{FILE_PATH}}

1 step · 1 input

  1. Send
    docker load -i {{FILE_PATH}}

    Sends Enter afterwards.

Import Image

Run: docker import {{FILE_PATH}} {{IMAGE}}

1 step · 2 inputs

  1. Send
    docker import {{FILE_PATH}} {{IMAGE}}

    Sends Enter afterwards.

Prune Dangling Images

Run: docker image prune

1 step · asks for confirmation before it runs

  1. Send
    docker image prune

    Sends Enter afterwards.

Prune All Unused Images

Run: docker image prune -a

1 step · asks for confirmation before it runs

  1. Send
    docker image prune -a

    Sends Enter afterwards.

Show Build Cache Usage

Run: docker buildx du

1 step

  1. Send
    docker buildx du

    Sends Enter afterwards.

Prune Build Cache

Run: docker builder prune

1 step · asks for confirmation before it runs

  1. Send
    docker builder prune

    Sends Enter afterwards.

List Buildx Builders

Run: docker buildx ls

1 step

  1. Send
    docker buildx ls

    Sends Enter afterwards.

Create Buildx Builder

Run: docker buildx create --name {{BUILDER}} --use

1 step · 1 input

  1. Send
    docker buildx create --name {{BUILDER}} --use

    Sends Enter afterwards.

Build Multi-Platform Image

Run: docker buildx build --platform {{PLATFORMS}} -t {{IMAGE}} --push {{CONTEXT}}

1 step · 3 inputs

  1. Send
    docker buildx build --platform {{PLATFORMS}} -t {{IMAGE}} --push {{CONTEXT}}

    Sends Enter afterwards.

Docker - Docker Compose

30 buttons

Compose up, down, logs, scale and per-service control.

Compose Up

Run: docker compose up -d

1 step

  1. Send
    docker compose up -d

    Sends Enter afterwards.

Compose Up and Build

Run: docker compose up -d --build

1 step

  1. Send
    docker compose up -d --build

    Sends Enter afterwards.

Compose Up Service

Run: docker compose up -d {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose up -d {{SERVICE}}

    Sends Enter afterwards.

Compose Down

Run: docker compose down

1 step

  1. Send
    docker compose down

    Sends Enter afterwards.

Compose Down and Remove Volumes

Run: docker compose down -v

1 step · asks for confirmation before it runs

  1. Send
    docker compose down -v

    Sends Enter afterwards.

Compose Stop

Run: docker compose stop

1 step

  1. Send
    docker compose stop

    Sends Enter afterwards.

Compose Stop Service

Run: docker compose stop {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose stop {{SERVICE}}

    Sends Enter afterwards.

Compose Start

Run: docker compose start

1 step

  1. Send
    docker compose start

    Sends Enter afterwards.

Compose Restart

Run: docker compose restart

1 step

  1. Send
    docker compose restart

    Sends Enter afterwards.

Compose Restart Service

Run: docker compose restart {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose restart {{SERVICE}}

    Sends Enter afterwards.

Compose Pull

Run: docker compose pull

1 step

  1. Send
    docker compose pull

    Sends Enter afterwards.

Compose Pull Service

Run: docker compose pull {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose pull {{SERVICE}}

    Sends Enter afterwards.

Compose Build

Run: docker compose build

1 step

  1. Send
    docker compose build

    Sends Enter afterwards.

Compose Build Service

Run: docker compose build {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose build {{SERVICE}}

    Sends Enter afterwards.

Compose Build Without Cache

Run: docker compose build --no-cache {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose build --no-cache {{SERVICE}}

    Sends Enter afterwards.

Compose List Services

Run: docker compose ps

1 step

  1. Send
    docker compose ps

    Sends Enter afterwards.

Compose List All

Run: docker compose ps -a

1 step

  1. Send
    docker compose ps -a

    Sends Enter afterwards.

Compose Logs

Run: docker compose logs -f --tail {{LINES}}

1 step · 1 input

  1. Send
    docker compose logs -f --tail {{LINES}}

    Sends Enter afterwards.

Compose Service Logs

Run: docker compose logs -f --tail {{LINES}} {{SERVICE}}

1 step · 2 inputs

  1. Send
    docker compose logs -f --tail {{LINES}} {{SERVICE}}

    Sends Enter afterwards.

Compose Execute Bash

Run: docker compose exec {{SERVICE}} bash

1 step · 1 input

  1. Send
    docker compose exec {{SERVICE}} bash

    Sends Enter afterwards.

Compose Execute sh

Run: docker compose exec {{SERVICE}} sh

1 step · 1 input

  1. Send
    docker compose exec {{SERVICE}} sh

    Sends Enter afterwards.

Compose Run One-Off

Run: docker compose run --rm {{SERVICE}} {{COMMAND}}

1 step · 2 inputs

  1. Send
    docker compose run --rm {{SERVICE}} {{COMMAND}}

    Sends Enter afterwards.

Compose Config Validate

Run: docker compose config -q

1 step

  1. Send
    docker compose config -q

    Sends Enter afterwards.

Compose Render Config

Run: docker compose config

1 step

  1. Send
    docker compose config

    Sends Enter afterwards.

Compose List Images

Run: docker compose images

1 step

  1. Send
    docker compose images

    Sends Enter afterwards.

Compose List Processes

Run: docker compose top

1 step

  1. Send
    docker compose top

    Sends Enter afterwards.

Compose Pause

Run: docker compose pause {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose pause {{SERVICE}}

    Sends Enter afterwards.

Compose Unpause

Run: docker compose unpause {{SERVICE}}

1 step · 1 input

  1. Send
    docker compose unpause {{SERVICE}}

    Sends Enter afterwards.

Compose Remove Stopped

Run: docker compose rm -f {{SERVICE}}

1 step · asks for confirmation before it runs · 1 input

  • Recursive or forced file deletion
  1. Send
    docker compose rm -f {{SERVICE}}

    Sends Enter afterwards.

Compose Scale Service

Run: docker compose up -d --scale {{SERVICE}}={{COUNT}}

1 step · 2 inputs

  1. Send
    docker compose up -d --scale {{SERVICE}}={{COUNT}}

    Sends Enter afterwards.

Docker - Logs, Stats & Inspection

18 buttons

Logs, live resource stats and low-level inspect output.

Container Logs

Run: docker logs {{CONTAINER}}

1 step · 1 input

  1. Send
    docker logs {{CONTAINER}}

    Sends Enter afterwards.

Follow Container Logs

Run: docker logs -f --tail {{LINES}} {{CONTAINER}}

1 step · 2 inputs

  1. Send
    docker logs -f --tail {{LINES}} {{CONTAINER}}

    Sends Enter afterwards.

Logs Since Time

Run: docker logs --since {{SINCE}} {{CONTAINER}}

1 step · 2 inputs

  1. Send
    docker logs --since {{SINCE}} {{CONTAINER}}

    Sends Enter afterwards.

Container Stats

Run: docker stats

1 step

  1. Send
    docker stats

    Sends Enter afterwards.

Single Container Stats

Run: docker stats {{CONTAINER}}

1 step · 1 input

  1. Send
    docker stats {{CONTAINER}}

    Sends Enter afterwards.

Stats Once

Run: docker stats --no-stream

1 step

  1. Send
    docker stats --no-stream

    Sends Enter afterwards.

Inspect Container

Run: docker inspect {{CONTAINER}}

1 step · 1 input

  1. Send
    docker inspect {{CONTAINER}}

    Sends Enter afterwards.

Get Container IP

Run: docker inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}" {{CONTAINER}}

1 step · 1 input

Expects from your global variables: {{end}}

  1. Send
    docker inspect -f "{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}" {{CONTAINER}}

    Sends Enter afterwards.

Get Container Health

Run: docker inspect -f "{{.State.Health.Status}}" {{CONTAINER}}

1 step · 1 input

  1. Send
    docker inspect -f "{{.State.Health.Status}}" {{CONTAINER}}

    Sends Enter afterwards.

Get Container State

Run: docker inspect -f "{{.State.Status}}" {{CONTAINER}}

1 step · 1 input

  1. Send
    docker inspect -f "{{.State.Status}}" {{CONTAINER}}

    Sends Enter afterwards.

List Container Processes

Run: docker top {{CONTAINER}}

1 step · 1 input

  1. Send
    docker top {{CONTAINER}}

    Sends Enter afterwards.

Show Port Mappings

Run: docker port {{CONTAINER}}

1 step · 1 input

  1. Send
    docker port {{CONTAINER}}

    Sends Enter afterwards.

Docker Events

Run: docker events

1 step

  1. Send
    docker events

    Sends Enter afterwards.

Filter Docker Events

Run: docker events --filter {{FILTER}}

1 step · 1 input

  1. Send
    docker events --filter {{FILTER}}

    Sends Enter afterwards.

Disk Usage

Run: docker system df

1 step

  1. Send
    docker system df

    Sends Enter afterwards.

Detailed Disk Usage

Run: docker system df -v

1 step

  1. Send
    docker system df -v

    Sends Enter afterwards.

Docker Info

Run: docker info

1 step

  1. Send
    docker info

    Sends Enter afterwards.

Docker Version

Run: docker version

1 step

  1. Send
    docker version

    Sends Enter afterwards.

Docker - Networks

8 buttons

Networks, connectivity between containers and DNS.

List Networks

Run: docker network ls

1 step

  1. Send
    docker network ls

    Sends Enter afterwards.

Create Bridge Network

Run: docker network create {{NETWORK}}

1 step · 1 input

  1. Send
    docker network create {{NETWORK}}

    Sends Enter afterwards.

Create Network With Subnet

Run: docker network create --driver bridge --subnet {{SUBNET}} --gateway {{GATEWAY}} {{NETWORK}}

1 step · 3 inputs

  1. Send
    docker network create --driver bridge --subnet {{SUBNET}} --gateway {{GATEWAY}} {{NETWORK}}

    Sends Enter afterwards.

Inspect Network

Run: docker network inspect {{NETWORK}}

1 step · 1 input

  1. Send
    docker network inspect {{NETWORK}}

    Sends Enter afterwards.

Connect Container to Network

Run: docker network connect {{NETWORK}} {{CONTAINER}}

1 step · 2 inputs

  1. Send
    docker network connect {{NETWORK}} {{CONTAINER}}

    Sends Enter afterwards.

Disconnect Container From Network

Run: docker network disconnect {{NETWORK}} {{CONTAINER}}

1 step · 2 inputs

  1. Send
    docker network disconnect {{NETWORK}} {{CONTAINER}}

    Sends Enter afterwards.

Remove Network

Run: docker network rm {{NETWORK}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker network rm {{NETWORK}}

    Sends Enter afterwards.

Prune Networks

Run: docker network prune

1 step · asks for confirmation before it runs

  1. Send
    docker network prune

    Sends Enter afterwards.

Docker - Volumes

9 buttons

Volumes, bind mounts and their disk usage.

List Volumes

Run: docker volume ls

1 step

  1. Send
    docker volume ls

    Sends Enter afterwards.

Create Volume

Run: docker volume create {{VOLUME}}

1 step · 1 input

  1. Send
    docker volume create {{VOLUME}}

    Sends Enter afterwards.

Inspect Volume

Run: docker volume inspect {{VOLUME}}

1 step · 1 input

  1. Send
    docker volume inspect {{VOLUME}}

    Sends Enter afterwards.

Remove Volume

Run: docker volume rm {{VOLUME}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker volume rm {{VOLUME}}

    Sends Enter afterwards.

Force Remove Volume

Run: docker volume rm -f {{VOLUME}}

1 step · asks for confirmation before it runs · 1 input

  • Recursive or forced file deletion
  1. Send
    docker volume rm -f {{VOLUME}}

    Sends Enter afterwards.

Prune Volumes

Run: docker volume prune

1 step · asks for confirmation before it runs

  1. Send
    docker volume prune

    Sends Enter afterwards.

Prune All Unused Volumes

Run: docker volume prune -a

1 step · asks for confirmation before it runs

  1. Send
    docker volume prune -a

    Sends Enter afterwards.

Backup Volume

Run: docker run --rm -v {{VOLUME}}:/source:ro -v {{HOST_PATH}}:/backup alpine tar czf /backup/{{ARCHIVE}} -C /source .

1 step · 3 inputs

  1. Send
    docker run --rm -v {{VOLUME}}:/source:ro -v {{HOST_PATH}}:/backup alpine tar czf /backup/{{ARCHIVE}} -C /source .

    Sends Enter afterwards.

Restore Volume

Run: docker run --rm -v {{VOLUME}}:/target -v {{HOST_PATH}}:/backup alpine sh -c "cd /target && tar xzf /backup/{{ARCHIVE}}"

1 step · asks for confirmation before it runs · 3 inputs

  1. Send
    docker run --rm -v {{VOLUME}}:/target -v {{HOST_PATH}}:/backup alpine sh -c "cd /target && tar xzf /backup/{{ARCHIVE}}"

    Sends Enter afterwards.

Docker - Registry & Authentication

6 buttons

Registry login, image push and pull, credentials.

Docker Login

Run: docker login {{REGISTRY}} -u {{USERNAME}}

1 step · 2 inputs

  1. Send
    docker login {{REGISTRY}} -u {{USERNAME}}

    Sends Enter afterwards.

Docker Logout

Run: docker logout {{REGISTRY}}

1 step · 1 input

  1. Send
    docker logout {{REGISTRY}}

    Sends Enter afterwards.

Search Docker Hub

Run: docker search {{TERM}}

1 step · 1 input

  1. Send
    docker search {{TERM}}

    Sends Enter afterwards.

Pull Specific Tag

Run: docker pull {{IMAGE}}:{{TAG}}

1 step · 2 inputs

  1. Send
    docker pull {{IMAGE}}:{{TAG}}

    Sends Enter afterwards.

Tag for Registry

Run: docker tag {{SOURCE_IMAGE}} {{REGISTRY}}/{{REPOSITORY}}:{{TAG}}

1 step · 4 inputs

  1. Send
    docker tag {{SOURCE_IMAGE}} {{REGISTRY}}/{{REPOSITORY}}:{{TAG}}

    Sends Enter afterwards.

Push to Registry

Run: docker push {{REGISTRY}}/{{REPOSITORY}}:{{TAG}}

1 step · 3 inputs

  1. Send
    docker push {{REGISTRY}}/{{REPOSITORY}}:{{TAG}}

    Sends Enter afterwards.

Docker - Cleanup & Maintenance

11 buttons

Prune containers, images, volumes and build cache.

Remove Stopped Containers

Run: docker container prune

1 step · asks for confirmation before it runs

  1. Send
    docker container prune

    Sends Enter afterwards.

Remove Dangling Images

Run: docker image prune

1 step · asks for confirmation before it runs

  1. Send
    docker image prune

    Sends Enter afterwards.

Remove Unused Networks

Run: docker network prune

1 step · asks for confirmation before it runs

  1. Send
    docker network prune

    Sends Enter afterwards.

Remove Unused Volumes

Run: docker volume prune

1 step · asks for confirmation before it runs

  1. Send
    docker volume prune

    Sends Enter afterwards.

Remove Build Cache

Run: docker builder prune

1 step · asks for confirmation before it runs

  1. Send
    docker builder prune

    Sends Enter afterwards.

System Prune

Run: docker system prune

1 step · asks for confirmation before it runs

  1. Send
    docker system prune

    Sends Enter afterwards.

System Prune All

Run: docker system prune -a

1 step · asks for confirmation before it runs

  1. Send
    docker system prune -a

    Sends Enter afterwards.

System Prune All With Volumes

Run: docker system prune -a --volumes

1 step · asks for confirmation before it runs

  1. Send
    docker system prune -a --volumes

    Sends Enter afterwards.

Remove All Stopped Containers

Run: docker rm $(docker ps -aq --filter status=exited)

1 step · asks for confirmation before it runs

  1. Send
    docker rm $(docker ps -aq --filter status=exited)

    Sends Enter afterwards.

Remove All Containers

Run: docker rm -f $(docker ps -aq)

1 step · asks for confirmation before it runs

  • Recursive or forced file deletion
  1. Send
    docker rm -f $(docker ps -aq)

    Sends Enter afterwards.

Remove All Images

Run: docker rmi -f $(docker images -aq)

1 step · asks for confirmation before it runs

  1. Send
    docker rmi -f $(docker images -aq)

    Sends Enter afterwards.

Docker - System, Contexts & Services

13 buttons

Daemon info, disk usage, contexts and service control.

Start Docker Service

Run: sudo systemctl start docker

1 step

  1. Send
    sudo systemctl start docker

    Sends Enter afterwards.

Stop Docker Service

Run: sudo systemctl stop docker

1 step · asks for confirmation before it runs

  • Stops or disables a service
  1. Send
    sudo systemctl stop docker

    Sends Enter afterwards.

Restart Docker Service

Run: sudo systemctl restart docker

1 step

  1. Send
    sudo systemctl restart docker

    Sends Enter afterwards.

Docker Service Status

Run: sudo systemctl status docker

1 step

  1. Send
    sudo systemctl status docker

    Sends Enter afterwards.

Enable Docker at Boot

Run: sudo systemctl enable docker

1 step

  1. Send
    sudo systemctl enable docker

    Sends Enter afterwards.

Disable Docker at Boot

Run: sudo systemctl disable docker

1 step · asks for confirmation before it runs

  • Stops or disables a service
  1. Send
    sudo systemctl disable docker

    Sends Enter afterwards.

Docker Journal Logs

Run: sudo journalctl -u docker -f

1 step

  1. Send
    sudo journalctl -u docker -f

    Sends Enter afterwards.

List Contexts

Run: docker context ls

1 step

  1. Send
    docker context ls

    Sends Enter afterwards.

Show Current Context

Run: docker context show

1 step

  1. Send
    docker context show

    Sends Enter afterwards.

Use Context

Run: docker context use {{CONTEXT_NAME}}

1 step · 1 input

  1. Send
    docker context use {{CONTEXT_NAME}}

    Sends Enter afterwards.

Create SSH Context

Run: docker context create {{CONTEXT_NAME}} --docker "host=ssh://{{SSH_HOST}}"

1 step · 2 inputs

  1. Send
    docker context create {{CONTEXT_NAME}} --docker "host=ssh://{{SSH_HOST}}"

    Sends Enter afterwards.

Inspect Context

Run: docker context inspect {{CONTEXT_NAME}}

1 step · 1 input

  1. Send
    docker context inspect {{CONTEXT_NAME}}

    Sends Enter afterwards.

Remove Context

Run: docker context rm {{CONTEXT_NAME}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker context rm {{CONTEXT_NAME}}

    Sends Enter afterwards.

Docker - Swarm, Services & Stacks

26 buttons

Swarm nodes, services, replicas and stack deployment.

Initialize Swarm

Run: docker swarm init --advertise-addr {{ADDRESS}}

1 step · 1 input

  1. Send
    docker swarm init --advertise-addr {{ADDRESS}}

    Sends Enter afterwards.

Join Swarm

Run: docker swarm join --token {{TOKEN}} {{MANAGER_ADDRESS}}

1 step · 2 inputs

  1. Send
    docker swarm join --token {{TOKEN}} {{MANAGER_ADDRESS}}

    Sends Enter afterwards.

Leave Swarm

Run: docker swarm leave

1 step · asks for confirmation before it runs

  1. Send
    docker swarm leave

    Sends Enter afterwards.

Force Leave Swarm

Run: docker swarm leave --force

1 step · asks for confirmation before it runs

  1. Send
    docker swarm leave --force

    Sends Enter afterwards.

Show Join Token

Run: docker swarm join-token {{ROLE}}

1 step · 1 input

  1. Send
    docker swarm join-token {{ROLE}}

    Sends Enter afterwards.

List Swarm Nodes

Run: docker node ls

1 step

  1. Send
    docker node ls

    Sends Enter afterwards.

List Services

Run: docker service ls

1 step

  1. Send
    docker service ls

    Sends Enter afterwards.

Create Service

Run: docker service create --name {{SERVICE}} --replicas {{COUNT}} {{IMAGE}}

1 step · 3 inputs

  1. Send
    docker service create --name {{SERVICE}} --replicas {{COUNT}} {{IMAGE}}

    Sends Enter afterwards.

Inspect Service

Run: docker service inspect --pretty {{SERVICE}}

1 step · 1 input

  1. Send
    docker service inspect --pretty {{SERVICE}}

    Sends Enter afterwards.

Service Logs

Run: docker service logs -f --tail {{LINES}} {{SERVICE}}

1 step · 2 inputs

  1. Send
    docker service logs -f --tail {{LINES}} {{SERVICE}}

    Sends Enter afterwards.

Scale Service

Run: docker service scale {{SERVICE}}={{COUNT}}

1 step · 2 inputs

  1. Send
    docker service scale {{SERVICE}}={{COUNT}}

    Sends Enter afterwards.

Update Service Image

Run: docker service update --image {{IMAGE}} {{SERVICE}}

1 step · 2 inputs

  1. Send
    docker service update --image {{IMAGE}} {{SERVICE}}

    Sends Enter afterwards.

Force Service Update

Run: docker service update --force {{SERVICE}}

1 step · 1 input

  1. Send
    docker service update --force {{SERVICE}}

    Sends Enter afterwards.

Rollback Service

Run: docker service rollback {{SERVICE}}

1 step · 1 input

  1. Send
    docker service rollback {{SERVICE}}

    Sends Enter afterwards.

Remove Service

Run: docker service rm {{SERVICE}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker service rm {{SERVICE}}

    Sends Enter afterwards.

List Stacks

Run: docker stack ls

1 step

  1. Send
    docker stack ls

    Sends Enter afterwards.

Deploy Stack

Run: docker stack deploy -c {{COMPOSE_FILE}} {{STACK}}

1 step · 2 inputs

  1. Send
    docker stack deploy -c {{COMPOSE_FILE}} {{STACK}}

    Sends Enter afterwards.

List Stack Services

Run: docker stack services {{STACK}}

1 step · 1 input

  1. Send
    docker stack services {{STACK}}

    Sends Enter afterwards.

List Stack Tasks

Run: docker stack ps {{STACK}}

1 step · 1 input

  1. Send
    docker stack ps {{STACK}}

    Sends Enter afterwards.

Remove Stack

Run: docker stack rm {{STACK}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker stack rm {{STACK}}

    Sends Enter afterwards.

List Secrets

Run: docker secret ls

1 step

  1. Send
    docker secret ls

    Sends Enter afterwards.

Create Secret From File

Run: docker secret create {{SECRET}} {{FILE_PATH}}

1 step · 2 inputs

  1. Send
    docker secret create {{SECRET}} {{FILE_PATH}}

    Sends Enter afterwards.

Remove Secret

Run: docker secret rm {{SECRET}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker secret rm {{SECRET}}

    Sends Enter afterwards.

List Configs

Run: docker config ls

1 step

  1. Send
    docker config ls

    Sends Enter afterwards.

Create Config From File

Run: docker config create {{CONFIG}} {{FILE_PATH}}

1 step · 2 inputs

  1. Send
    docker config create {{CONFIG}} {{FILE_PATH}}

    Sends Enter afterwards.

Remove Config

Run: docker config rm {{CONFIG}}

1 step · asks for confirmation before it runs · 1 input

  1. Send
    docker config rm {{CONFIG}}

    Sends Enter afterwards.

Version history

  • Revision 2 current

    The Docker command line as buttons: run and inspect containers, build and push images, drive Compose stacks, manage networks and volumes, and clean up a host that has run out of disk. Adding in Inputs and stops..

    14 Aug 2026 · 165.7 KB · needs 1.2.0+ · 9c492d680931809e…

  • Revision 1

    First published version.

    13 Aug 2026 · 165.0 KB · needs 1.2.0+ · cc5bb3d46ccc9c05…

Something wrong with this set?

Sign in to report it, or email abuse@smartcomrevisited.com.