Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@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. -
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.
-
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. -
@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. -
@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

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.
rant