5
b2plane
2y

Setting up docker is so fucking complicated. Theres like a trillion combinations of something going wrong. I have never been able to setup docker right on the first try. Theres always some fucking compilation failure or corrupted images and containers. The thought of using docker frightens me for this reason. But still makes me want to use it because once it's set up it makes dev life 200x easier

Comments
  • 1
    What, really? Are you on Windows or something? I find it incredibly easy to use and can probably configure a server with it in less that 20 min
  • 1
    You must be on Windows right? Mac is completely doable and linux is 2 commands
  • 0
    depends what you are doing, but i'll agree for how its marketed talked about ive never had a docker file or config that was "just 5 lines" or whatever the hell examples they always show
  • 1
    I've never understood how to write my own Dockerfile. I studied it for 15 mins and gave up on it.
  • 2
    Your company is using Docker wrong. Docker itself is easy. It sounds like there’s no good CI/CD system at your company to test images are valid before publishing to the image registry you’re using.
  • 1
    See the trick

    `docker exec -it ubuntu:22.04 bash`
    You LL get inside of running container in interactive console. From there u can quickly test in real time what is supposed to be installed.

    In similar way you can built image at any time of problem, by commenting out problematic commands and running
    `docker build --tag test .`
    And entering again it's console via same command as above except replacing Ubuntu:22.04 to test.
    For alpine images, enter via `sh` instead of `bash`

    In general recommendation to read `Docker Deep Dive` book in addition
  • 0
  • 0
    @ScriptCoded im using imac
  • 1
    @b2plane unfortunately Docker on Mac sucks even more than Windows (non-WSL install) because it uses VirtualBox and is slow as f*ck.

    But FWIW I struggled grasping docker for a year or so (in a non-devops position) and only after writing 4-5 images I started getting the hang of it. Using Linux as desktop helped a lot, especially for becoming more familiar with OS-level stuff.
  • 0
    I'm on mac and it's a nightmare. It used to be easy. Downloaded it again today and can't make it do shit. Hate it. When you click on a button that is supposed to start the container and it just quits after a milisecond, and that's considered proper behavior, what's the point? How am I supposed to develop in something that only runs for a milisecond? It's junk. Hate it.
  • -1
    While navigating a website recently, I stumbled upon a hidden treasure trove of stock photos. These professionally road vector https://depositphotos.com/vector-im... curated images span an impressive array of themes and styles, promising to breathe new life into my creative projects. From website design to marketing campaigns and social media content, these stock photos are a valuable resource that I'm eager to utilize to enhance the visual appeal and effectiveness of my work.
Add Comment