Docker instructions in banner wrong

GitHub issue #3 Feature Shipped hughevia github Dec 17, 2025 View original

Just sshed in to my VM, got this message in the login banner:

Docker is installed and works; try "docker --rm run alpine:latest echo hello world"

Tried that command:

$ docker --rm run alpine:latest echo hello world
unknown flag: --rm

Usage:  docker [OPTIONS] COMMAND [ARG...]

Run 'docker --help' for more information

The --rm flag should be after run:

$ docker run --rm  alpine:latest echo hello world
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
014e56e61396: Pull complete
Digest: sha256:51183f2cfa6320055da30872f211093f9ff1d3cf06f39a0bdb212314c5dc7375
Status: Downloaded newer image for alpine:latest
hello world

1 Comment

josharianvia github Dec 17, 2025

Thanks! Fixed by https://discord.com/channels/1405685085923049482/1435094980656889896/1450963434119237683. This should be correct on newly created VMs going forward.