[Meme transcription:]

– Hey, why is the shell prompt on the production server red now?
– Earlier: me@prod:~$ docker container remove --force the-application

Protip: If you’re used to shutting down your computer via the CLI, make it a habit to use an alias like off.

This way you will never, ever turn off a remote server by accidentally using throwing poweroff at a residual SSH connection.

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    18 hours ago

    the fact that you can shell in from your local environment is more concerning than the fact that you killed prod.

    hope you aren’t supposed to hold any compliance requirements!

    funny story though, you’ll use this when you’re mentoring later and some dumbass noob will still do it.