HN.zip

Docker.how – Docker command cheat sheet

46 points by anagogistis - 12 comments
mmh0000 [3 hidden]5 mins 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…
ZpJuUuNaQ5 [3 hidden]5 mins 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.
DJBunnies [3 hidden]5 mins ago
Do folks not leverage built in help commands anymore?

I must be getting old.

internet2000 [3 hidden]5 mins 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.
K0IN [3 hidden]5 mins ago
Some people actually want to know and learn the things they use daily
otterley [3 hidden]5 mins ago
You can find the Docker documentation at https://docs.docker.com.
lifetimerubyist [3 hidden]5 mins ago
Some people don’t want to spend $30 per month to not learn things.
DJBunnies [3 hidden]5 mins ago
Thanks, I hate it.
anagogistis [3 hidden]5 mins 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.
tomhow [3 hidden]5 mins 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

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