9

Anyone who says 'Docker is easy" should burn in hell.

Sure, It took me 5 minutes to run my project in docker container

Took another 25 to run multipl;e comntainers via compose

Now, 3 hours later, can't run compose from multiple Visual Studio solutions. Says "Pull failed"

No doc. No examples. No nothing.

I'll try for another hour or so, if not, fuck that docker shit. I'll go to Service fabric.

Comments
  • 0
    @retoor All 3 containers are locally generated

    first 2 "back-end API" are 1 for rest API, One for graphQL

    The last one : A blazor server who needs first two and it's located in another visual studio solution

    Even in local, can't get these 2 in a compose for the last one.

    It's 100% me, usually if I can't make something work (At least a little) ion the first 2 hours, I move on.
  • 4
    Docker is "easy" once you learn the quirks and get the command line muscle memory. Folks saying its easy are forgetting the hours+days+weeks they spent trying to get a running container (and failing) and the issue was a forward slash instead of a backslash.
  • 1
    That only means vs sucks not docker..
  • 1
    docker pull failure is strange, if u pull from a non public library, docker login might be needed?

    @retoor

    One can use networks for that.

    docker network create service_network

    Define in Compose the network itself with external: True.

    external and manual creation as multiple compose files are involved - so we need to make it stateless.

    Add to each defined service the created network with a hostname.

    Use the hostname for container communication, e.g. instead of docker-host:5000 to reach service with public exposed port 5000… use my-service:5000. No public ports needed.

    Network segmentation is a beautiful thing in docker.
  • 1
  • 1
    So you have problem with garbage editor from Microshit and somehow blame docker?
  • 1
    @PAKA Why do you focus on editor ?

    command line gives same results.

    VS only calls command lines lol. (At least for docker, I agree it does some unholy shit in some instances).

    Full command line, on WSL2. Same result. It;'s 100% docker issue. Well, my knowladge of docker.

    But Docker doesn't have ANY doc, not ANY example usefull, they have 50000 pages opf crap doc not redable. And any way, who reads docs ?

    So keep blaming VS or Windows or, i don't know, the keyboard manufacter. Problem is not there.

    problem is docker compose can't get image from a localy running "Docker deskrop"

    Then yes, I only spent 3 hours (never worked with docker before). But in ANY normal solution in 3 hours I'll get MVP up and running.
  • 0
    @dontbeevil Well, it is 100% me. They are right.

    BUT, there is effort/time/result equation

    And docker lose this one :)

    I'm sure if I spend 1 week on this problem it will work, and next time I have issue it will take couple of minutes.

    But spending a WEEK to learn just "hello world", meeeh, nop
Add Comment