Docker.how – Docker command cheat sheet
46 points
6 hours ago
| 6 comments
| docker.how
| HN
mmh0000
1 hour ago
[-]
I am so not understanding the purpose of this...

If you need Docker CLI commands, isn't it just easier to use the CLI that you're already on?

Docker is fully self-documented:

    / # docker
  Usage:  docker [OPTIONS] COMMAND
  
  A self-sufficient runtime for containers
  
  Common Commands:
    run         Create and run a new container from an image
    exec        Execute a command in a running container
  
  …SNIP…
  
  / # docker run --help
  Usage:  docker run [OPTIONS] IMAGE [COMMAND] [ARG...]
  
  Create and run a new container from an image
  
  Aliases:
    docker container run, docker run
  
  Options:
        --add-host list                    Add a custom host-to-IP mapping (host:IP)

  …SNIP…
reply
ZpJuUuNaQ5
4 hours ago
[-]
What bothers me the most about LLM-generated CSS is the inclusion of these long and completely unnecessary transitions. Every single time, it's the transform on hover and opacity+transform on page load. Why? I haven't noticed these patterns that often on popular sites, but for AI-generated UIs this seems to be the default. If you hover on elements and switch pages frequently, these animations become annoying really quickly.
reply
DJBunnies
3 hours ago
[-]
Do folks not leverage built in help commands anymore?

I must be getting old.

reply
koolba
15 minutes ago
[-]
Just wait till these whippersnappers find out about man page.
reply
vivzkestrel
6 minutes ago
[-]
no docker swarm commands?
reply
internet2000
3 hours ago
[-]
"Hey Claude, can you list the docker containers I have running, find the one using the uv:debian-slim image, and copy main.py from the app folder in it onto my pwd" ← No cheat sheet needed.
reply
K0IN
2 hours ago
[-]
Some people actually want to know and learn the things they use daily
reply
otterley
2 hours ago
[-]
You can find the Docker documentation at https://docs.docker.com.
reply
lifetimerubyist
2 hours ago
[-]
Some people don’t want to spend $30 per month to not learn things.
reply
DJBunnies
2 hours ago
[-]
Thanks, I hate it.
reply
anagogistis
5 hours ago
[-]
I wanted a Docker cheat sheet that's actually nice and accessible from anywhere. So I built one with help from Claude Code and shipped it in ~1 hour. Feedback is welcome.
reply
tomhow
2 hours ago
[-]
Thanks for submitting this. We're happy for anything to be submitted that the community finds useful. But “I built one with help from Claude Code and shipped it in ~1 hour” doesn't really clear the bar for a good Show HN. It's not really “something you've made that other people can play with”; it's more of a list of commands, and lists are explicitly outside the scope of Show HNs. For that reason we've removed the “Show HN” prefix.

https://news.ycombinator.com/showhn.html

reply
crtasm
3 hours ago
[-]
Did you test all the examples to confirm they work as expected and none of the attributes are obsolete?
reply
yogirk1
3 hours ago
[-]
Looks pleasant.
reply