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
Search - "docker"
-
Modern web development is fucked. Just absolutely, totally screwed up.
I want to create a simple to do list web app. Look for a tutorial: "OK guys, this is really easy, it just takes five minutes."
First step, install these:
- Git
- NPM
- NodeJS
- Express
- MongoDB
- Docker
- React
Second step, npm install about one million modules. Don't question what they do or why they're there.
Before you know it, six hours have passed and you've got a code base of 3GB and you haven't even _started_ on your app.
FUCK that shit! I can create this web app with Internet Explorer and Notepad.49 -
This week was my Boss's wedding,
So had most of the week off.
Took the free time to solidify my understanding of Docker.
Last night, I was finally able to Dockerize our whole architecture.
Deployed it today morning. Running without hiccups till now :')
Feeling amazing.11 -
Use Docker, it's awesome because you won't need VMs anymore.
Using Win7: You need a VM for running docker. 😫10 -
I have my reasons that Socrates once tried to understand how Docker works, because I have exactly the same feelings.7
-
So i heard that docker is now a thing and decided to put my servers into containers as well (see image)...but somehow I still don't understand how is this supposed to simplify deployment, vertical scaling and so on...? :D6
-
Guys, my unfortunately daily rant of my pm
I was told to create a docker env for our team. Good. Document the process so everyone can know what to do. Good.
My PM follows what he wants to instead of step by step and changes whatever he wants to.
I am asked for help because he doesnt know. No prob.
Me: "Do this, do this and.."
PM: "that doesnt matter, trust me, I could change it and.."
Me: "...and it wont work"
PM: "I know suff too, check" *does his changes aaaaaand doesnt work*
* awkward staring*
That happened a while ago.
This week, he crashed his git repo because he was doing things in docker team (including him) decided not to.
Took me more enough time explaining him "you are not supposed to do that in the container" funny fact he wanted to prove that his way was right and even if he did my way it would crash.
Sooooo he did my way just to prove how wrong I was. Everything worked flawlessly. Rage-still-awkward staring.
Plus the "aww that's weird. I dont know how this happened" -
Docker: "Build, Manage and Secure Your Apps Anywhere. Your Way."
Also Docker: "To run Linux in Windows, sacrifice 3 virgins."15 -
My boss says "cocker" once (referring to docker) a teammate and I make a meme of that, allways we have to talk about docker we say "dicker" or when we have to talk about git we say "dick" like "dick commit, dick pull, dick push".12
-
Are you using socat?
Any interesting use case you would like to share?
I am using it to create fake / proxy docker containers for network testing.7 -
Useful docker aliases
alias dstart='docker start "$@"'
alias dstop='docker stop "$@"'
alias drm='docker rm "$@"'
alias dip='docker inspect --format "{{ .NetworkSettings.IPAddress }}" "$@"'
alias dls="docker ps"
alias dlsa="docker ps -a"
alias dps="docker ps"
alias dimg='docker images "$@"'
alias drestart='docker restart "$@"'
alias dcommit='docker commit "$@"'
alias dinspect='docker inspect "$@"'
alias dlogs='docker logs "$@"'
alias dcp='docker cp "$@"'
alias dinfo='docker info'
alias dcompose='docker-compose "$@"'
alias dlogs='docker logs "$@"'
alias drshell='docker exec -it -u 0 "$@"'12 -
Junior dev at my workplace keeps telling me how efficient docker is.
He decided to solve his latest task with a containers in swarm mode.
As expected, things went sideways, and I had the joy of cleaning up behind him.
A couple of days later, I noticed that I was running low on disk space - odd.
Turns out docker was eating up some 60 GB with a bunch dangling images - efficient is a funny term for this.17 -
Quote from Docker site: "anyone with Docker and an editor installed can build and debug the app in minutes"
Really? I'm two days in and still can't get this damn thing to work. And no solution in sight. Command line tools... sheesh.7 -
You know what? I'm gonna write my own WordPress theme and I'll write it in my own docker compose.14
-
So we started looking into docker. As always I needed to do the research and I was fine with it.
We have 4 projects that are sold into one suite so logically I follow the microservices build structure.
3 months later after everything has been set up, we get called into a meeting. The whole suite should be a monolith as microservices doesn't make sense to the people planning everything.
Ok pulled my current plans out abd made everything a monolith. Just note I also get pulled away to other Business Units to do work for them.
Get pulled into another meeting 2 months later. Why isn't the docker containers in microservices!? It is stupid running as a monolith and we should've done our jobs better etc...
After the meeting my manager and I just sighed and walked to the office. So basically 5 months doing the the exact same thing we did in 3 weeks.
Now they want to develop other services and want to strip every method into a microservice and bundle it together.
Life of a DevOps engineer right!1 -
When you spend a few days getting a monolithic LAMP app working in Docker so we don’t have to follow a 12 page install procedure... only to have your senior say “that’s not the way we do things around here”7
-
The project tech lead asks me to add some Docker configuration files sent by the client to a project. He gives me a zip file and I unzip it and add the files to Git. Job done.
Later he checks the commit and starts bitching because I unzipped the file and it should have been added as a zip. After much debate trying to explain to him that Docker wouldn't open the zip file to search for the Dockerfile he just says "Can you just do it? I double checked with the client!". I give up after giving him all the arguments why he is wrong and do it.
The next day the client checks the commit and comments bitching that I included the zip file and not the contents of it.4 -
I didn't really find the usefulness of Docker until I used Docker Compose. Deploying our architecture with a simple 'docker-compose up' FeelsGoodMan.jpg2
-
I have been learning how to dockerize entire projects this week, and I have to say, Docker is the best thing I've come across in a long time.
That is all6 -
New dev prefers mariadb over postgresql, which is okay.
But his main reason is 'the smaller docker image'
What an argument, wtf2 -
I'm not knowledgeable when it's about Linux, so when I want to do some stuff I always have to take a f*cking lesson and a half. Could someone please explain to me what Docker is?19
-
I have spent the last 24 hours trying to connect a postgres db and a docker contained application both running on the same vps.
What no one told me was docker applications run on a separate network interface…
I need sleep...5 -
Current status: i should have gone to bed hours ago and there are other things i need to do, but right now i'm compiling ffmpeg in a docker container10
-
Docker is funny.
I'll try to fire up docker-compose and it will freak out.
Docker Error: "Oh man! Oh man! Something is wrong! It's probably not docker it's YOUR CONTAINER!!!! WTF DUDE!!!"
Me: "Uh docker ... your little systray icon indicates docker itself is broken right now...""
Docker: "No way man, i'm sure it's your fucked up container, must be something wrong with it!!!"
Me: "I'm just gonnna restart you."
Docker: "OK but I'm just say'n th----"
-restarts docker-
-restarts docker-compose-
Docker: "OMG It's up!!!!"6 -
Today I built an ASP.NET Core 2.0 Rest-Api within a docker-container.
Then I ran a docker-container with the compiled ASP.NET Core 2.0 app behind a nginx router.
It was purely magic!
:)2 -
Learn enough docker to convince my coworker that it is not the solution to EVERY problem, especially not to our problem8
-
Finally!
Got my Minecraft server running inside Docker to properly stream logs through Go to this shitty web interface. Fucking hell I didn't think this would be so fucking complicated!
Edit: Forgot the image :)14 -
I hate Docker. I hate networking with Docker. I hate Hyper-V.
I've spent over a month dealing with problem after problem after problem.
Someone put me out of my misery.10 -
Ok, so I basically spent my weekend trying to work out why the fuck my python docker container would not connect to my mariadb docker container. Tried fucking everything, bridged network, host network, links (even though theyre deprecated), you name it. It would NOT WORK!
In my despair I finally turned to StackOverflow. There I was told 5min after posting the question that the reason was probably that mysql is a quite heavy service, which takes a bit to start up.
I thought to myself "Oh, get the fuck outta here, that can't be it, shit's way too easy to work!"
I tried it nevertheless by adding a 10sec delay before querying the database AND THE MOTHERFUCKING PIECE OF SHIT ACTUALLY WORKS!! So, I essentially just lost a weekend because I was too impatient... I think I'm gonna punch some trees now.4 -
Definitely Docker.
Do whatever you want, whenever you want.
The pinnacle of flexibility.
Try out everything, without installing anything.
Deploy with the same environment you're developing with on your local machine.
It's brilliant! -
Is this for real?
https://docker.com/company/contact/
Docker sent me an email about some change in their service. I don't use docker and wanted to unsubscribe. There is no unsubscribe. So I reply to the email with the word "unsubscribe". It is returned immediately. Then I go to their website and the contact link. Use the form below it says.
No form. WTF?!
Docker, you close every route of communication and my only recourse to stop emails is to report it as spam?
Not impressed at all. I would not use a service that zero ways to contact. This no accountability service bullshit is a stupid trend.13 -
that moment when you have to learn Docker at work, so you convince networks teacher to do that in classes.3
-
Open source mail server?
I'm using Mailu but was thinking if there are other good options?
Also it is better if it has a docker image13 -
Dockers JSON output is garbage.
First, you'll get no JSON per se.
You get a JSON string per image, Like this:
{...} LF
{...} LF
{...} LF
Then I tried to parse the labels.
It looked easy: <Key>=<Value> , delimited by comma.
Lil oneliner... Boom.
Turns out that Docker allows comma in the value line and doesn't escape it.
Great.
One liner turns into char by char parser to properly tokenize the Labels based on the last known delimiter.
I thought that this was a 5 min task.
Guess what, Docker sucks and this has turned into try and error...
For fucks sake, I hated Docker before, but this makes me more angry than anything else. Properly returning an parseable API isn't that hard :@3 -
So a friend just told me one of his websites just got hacked and replaced with viagra advertisement.
He basically avoided joomla updates in order not to break something.
On the weekend I'm going to show him how to quickly spin up a docker environment for testing updates. -
me: *hosting docker registry for our team*
me: *sets up ssl and cloudflare dns and shit*
me: *tries to push to registry*
my pc: *413 rEQuEst EnTITy tOo LarGe*
me: *spends 4 hours scrutinizing the shit out of my nginx configs*
me: *finally finds cloudflare sitting there rejecting all of the requests... that cheeky bastard* -
When you're developing it's very well advised to run your software locally in an environment as much as possible matching the real environment.
So for example, if you're running linux on production then you also run it locally to run your code.
Here's where people need to shut the fuck up:
No, mac is not good for linux development. Not unless portability is already a concern that you have and even then it might be counter productive. So many times when people say this, portability isn't not a concern. What runs on servers is up to them.
If your servers are going to be centos, then you develop with centos. Not with debian, gentoo, ubuntu, maxosx, etc.
Even different linux distros are a headache for portability when it's just to support a few desktops for development so don't think that macosx is going to cut it. It might not be as radical a difference as between windows and linux traditionally is but it's still not good for "linux" development. I don't think people making that statement really know what linux is now how different distributions work.
What you use for your graphical operating system doesn't matter to much but when you run your code then there's a simple solution.
Another thing people need to shut up about. It's not docker, unless you're already in Linux where docker is one of many options such as chroot or lxc.
This question always comes up, how do you developer for linux in windows? No it's not docker it's virtual machine.
It's that simple. You download the ISO for the distro you want and then install it on a VM. What does docker for windows do? It runs a linux VM that runs docker.
This may come as a great shock to developers around the world but it is possible to run linux in a VM and then any linux application your want including docker.
Another option is to shove a box in the corner, install what you need on it, share the file system and have people use that to run their code. It really is that easy.10 -
Docker I don't have time for your bullshit tonight!
You're supposed to be this safe space where my code runs and neither the code or the god damn container changed.
Don't give me some bullshit about the container either, it's pretty clear docker itself is fucked ...2 -
I'm learning docker and I just started a container running a Linux distro.
What was the first command I run in the container?
rm -Rf / --no-preserve-root3 -
Sad. Laravel Valet uses Nginx. What if your office system is using Apache and is heavy in using .htaccess?
Ok back to MAMP and Docker. I'll just use Valet for simple things.7 -
"Millions of slaves"
"When you kill it, you kill everything."
-- Guy at work doing presentation about docker2 -
I was cleaning up dangling images in docker, and I accidentally removed the production database container as well.
Its not a big issue, I can just up the container back and everything should be fine. But after I up the container and connected to the database, I found out there's no data inside. I thought I fucked up, and sent msg in slack channel that I nuked the db.
Later my friend asked me which compose file I am using and that's when I realized I used the wrong config to up the db. Used the correct config to up the database again and everything goes back to normal.
It's friday evening and if I really dropped the db it would be fucking bad weekend....3 -
Forget about a missing semicolon. I was forwarding Neo4j to port 4747 and calling it in Asp.Net with port 7474 in Docker containers. It took me 6 hours to figure that one out. Lol, It's time for the weekend.4
-
fucking docker
fucking containers
fucking virtualization
I am so sick of getting random alerts for basic shit that don't work, like redis or memcached or some stupid shit that's there and seems ok.
i am so going bare metal.2 -
*ssh into server*
*runs 'sudo systemctl start docker'*
*ssh into server again*
> Permission denied
How docker? How are you destroying the ssh servers auth?12 -
Other Team: "our builds don't clean up properly"
*docker rm -f $(docker ps -a)*
Other Team: "our builds keep filling up machines"
*docker rmi $(docker images -q)*
Random Team Member: "My builds keep failing on service foo randomly exiting"
Other Random Team Member: "Why is there no caching on our builds"
...
team panics thinking it's their fault as our main job still passes, as it's on another machine.
...
When we find out after tracking build history
KMS4 -
Spend two days struggling with environment variables not being available in python script running on a docker container, tried providing environment variables directly, not working, tried providing a env file, not working
.
.
.
Turns out I was passing variables to the wrong container fml2 -
Just got our development Laravel docker image down to under 124 MB with alpine linux. The satisfaction...12
-
Docker is a fuckin bi*ch... build success at #22. What a Friday! Tomowzz gonna be lit if I don't get any calls tonight.
-
Build a docker image.
Adds config file .
Build cache ignores new contents.
Hours of trying to figure the shit out.
Bash into it.
GOD DAMN DOCKER HAS CACHED THE VERY FIRST VERSION OF THE FILE.
Hours lost with headcaches and thinking about existence. Fck my life.9 -
Today I experimented a bit with Dockerfile's.
Was quite surprised how far you could go with a spicy salsa of ARG, ENV, SHELL and multi stage builds.
But... For fucks sake....the debugging is like poking a light year long rod into a black hole, trying to fish something out of the event horizon....
In the end I got a nice setup for Java build's, version injectable with ENV/ARG, non root user and version specific behaviour.
As the debugging is non existing...
I filled up more than once my SSD....
It was an annoying brain damaged repetitive cycle of changing Dockerfile, pruning all images if docker build stopped because of missing free space, waiting for all stages to complete, start new.
And caching is a fragile thing that puzzles me .........
Guess more fishing tomorrow.
*Gives a happy deep throat to the beer bottle in hope of death*4 -
We have a customer that doesn't have a SINGLE linux admin. So now I have to fight with Docker EE on Windows Server 2019 (linux containers). Just fucking kill me already. Nothing works and when it does it just seems so shaky. Not like I didn't try to tell my team that linux containers on Docker EE for windows aren't officially supported and highly experimental.
But wtf do I expect from someone that STILL sells SAP and from someone that is stupid enough to buy it.2 -
Stupid pipeline bullshit.
Yeah i get it, it speeds up development/deployment time, but debugging this shit with secret variables/generated config and only viewable inside kubernetes after everything has been entered into the helm charts through Key Vaults in the pipeline just to see the docker image fail with "no such file found" or similar errors...
This means, a new commit, a new commit message, waiting for the docker build and push to finish, waiting for the release pipeline to trigger, a new helm chart release, waiting for kubernetes deployment and taking a look at the logs...
And another error which shouldn't happen.
Docker, fixes "it runs on my machine"
Kubernetes, fixes "it runs on my docker image"
Helm, fixes "it runs in my kubernetes cluster"
Why is this stuff always so unnecessarily hard to debug?!
I sure hope the devs appreciate my struggle with this... well guess what, they won't.
Anyways, weekend is near and my last day in this company is only four months away.2 -
Docker is awesome for minimizing environment problems.
Current side project needed a database, a web server with php and a transpiler server running. Before, other people developed using XAMPP on windows. I dockerized the project and have now just one build script setting up everything the app needs, regardless of the underlying operating system.1 -
I’m just in love with Docker.
My enterprise finally accept to give it a try.
NB : We have tons and tons of VM for nothing.4 -
Being in a university that has an eSports Academy is less exciting when you're part of the team maintaining it weekly... Well, at least the part where we had to set up a local cache server with docker & nginx was fun
-
Spending hours trying to figure out why the stack just won't work with SSL. Nearly lost my mind as we started feeling dumber than ever. I really started to doubt my skills after it did not even work with the most minimal nginx site config I could imagine.
The next day I discovered that we missed the 443 port mapping in the docker-compose file...it only had port 80 mapped.
Yup, stepping back from a problem and getting some sleep is really worth it sometimes. -
Why does Windows have to be so fucking useless when running docker. Everytime i need to make a change to the NGINX container, I have to restart the docker daemon, rather than rebuild and restart the container.
I would be doing this on Ubuntu, if I could install it that is.12 -
Here is my day.
1. Mac wanted to perform an update.
2. I said Okay, Do it.
3. It took sometime, I thought WTF let's force reboot.
4. Shit happened. I am unable to boot as install is corrupted.
5. Reinstalled a fresh copy. I didn't have a backup.
6. Realised that my two days of work is gone since I haven't pushed the code to github.
7. Found out that I made a docker image with all of the latest changes.
8. Now trying to decompile and rewrite the code from the jar in docker image.10 -
Is there room for docker in an agency environment? Or should it be utilized solely for larger scale application deployment?8
-
And in today’s news: heroic container fills 1Tb drive with logs to crash server. “Fuck Docker” says admin5
-
I hate this company so much. I was tasked to write a simple program wrapped in an API. They gave me freedom of choice to use any language and technology because I said it'll be deployed in docker anyway.
Now, when they gave me the server, it's Windows Server 2016, of course, without docker installed (or even supported in any way). The access is done via TeamViewer for which I receive ID and password by calling a guy.
Oh, and everything runs as admin. "It's easier that way and we always do it like this."5 -
Docker broke, swarm was a bloddy house of cards, from the first days of swarm, consul was somewhat bent around that crap
No docs, no one has a clue, no support and got somewhat backstabbed
Well... Maybe i should do something with wood or orchids ...4 -
At work everybody uses Windows 10. We recently switched from Vagrant to Docker. It's bad enough I have to use Windows, it's even worse to use Docker for Windows. If God forbid, you're ever in this situation and have to choose, pick Vagrant. It's way better than whatever Docker is doing... So upon installing version 2.2.0.0 of Docker for Windows I found myself in the situation where my volumes would randomly unmount themselves and I was going crazy as to why my assets were not loading. I tried 'docker-compose restart' or 'down' and 'up -d', I went into Portainer to check and manually start containers and at some point it works again but it doesn't last long before it breaks. I checked my yml config and asked my colleagues to take a look. They also experience different problems but not like mine. There is nothing wrong with the configuration. I went to check their github page and I saw there were a lot of issues opened on the same subject, I also opened one. Its over a week and I found no solution to this problem. I tried installing an older version but it still didn't work. Also I think it might've bricked my computer as today when I turned on my PC I got greeted by a BSOD right at system start up... I tried startup repair, boot into safe mode, system restore, reset PC, nothing works anymore it just doesn't boots into windows... I had to use a live USB with Linux Mint to grab my work files. I was thinking that my SSD might have reached its EoL as it is kinda old but I didn't find any corrupt files, everything is still there. I can't help but point my finger at Docker since I did nothing with this machine except tinkering with Docker and trying to make it work as it should... When we used Vagrant it also had its problems but none were of this magnitude... And I can't really go back to Vagrant unless my team also does so...10
-
docker service scale serviceID=5
If only scaling my bank balance were as simple as docker swarm scaling !1 -
Starting to migrate apps from a messy structure to docker containers. Have not worked a lot with docker before so i'll hope it goes as smooth as people told me9
-
In Swedish the phrase "Jag har lekt med docker hela dagen!" is just one letter from meaning "I have been playing with dolls all day!". This is a pointless observation but I illustrates how happy I am after a whole day of configuring a project in docker. With good progress and learning. Not that I enjoyed playing with dolls as a kid but with with Airfix model airplanes. But I am sure the joy is much the same.6
-
You can connect to Docker containers directly via IP in Linux, but not on Mac/Windows (no implementation for the docker0 bridged network adapter).
You can map ports locally, but if you have the same service running, it needs different ports. Furthermore if you run your tests in a container on Jenkins, and you let it launch other containers, it has to connect via IP address because it can't get access to exposed host ports. Also you can't run concurrent tests if you expose host ports.
My boss wanted me to change the tests so it maps the host port and changes from connecting to the IP to localhost if a certain environment variable was present. That's a horrible idea. Tests should be tests and not run differently on different environments. There's no point in having tests otherwise!
Finally found a solution where someone made a container that routed traffic to docker containers via a set of tun adapters and openvpn. It's kinda sad Docker hasn't implemented this natively for Mac/Windows yet.4 -
Docker y u no mounting volumes on Windows anymore...?
World y u use Windows at all?
Note to self, y u no problem-solving instead of devrant posting?8 -
Today I managed to set up a working docker project locally. Feels like I'm about to take over the world. Sooo much smoother than installing everything the normal way. And so clutter free :)
-
Okay I give up. I just don't get this docker networking stuff. I need someone to save me these sleepless nights and get on a call with me. A docker expert please. I am dying and my make believe devops engineer persona is crashing on me.20
-
Trying to use docker for the first time, and getting nowhere. I think I'm actually unlearning how to use a computer.1
-
Docker for Mac loves burning my CPU. Even if I delete all images and containers and do a fresh reinstall and JUST have Docker for Mac running, I always see crazy CPU usage on my Late 2016 15" Macbook Pro.6
-
My journey into learning Docker, chapter {chapter++}:
Today I learned that when you use a database image in your docker-compose file, and you want to rebuild the whole thing for reasons (say, a big update), then if you change your credentials ("root" to "a_lambda_user" or change the db's password) for more security, and you rebuild and up the whole thing... It won't work. You'll get "access denied".
Because the database (at least mysql and mariadb) will persist somewhere, so you need to run "docker rm -v" even though you didn't use any volumes.
I love loosing my fucking time.4 -
don't you love that moment when you are trying to set up a test environment but end up spending 3 days trying to get one little service to work?
I can't seem to find any auto dns that works with minimal configuration to use with vagrant or docker...1 -
Forget about everything I could say these last 2 days: I'm having as much fun with Docker than when I first discovered Ruby on Rails 3 years ago 😍
I still don't understand everything with docker-compose & shit but so much things are way more clear when you try them out!1 -
This story is related to Docker containers.
Three years back when I heard about docker my first impression of docker was mini Virtual Machine. Then when you start your first container it’s no way to get out apart from pressing ctrl+d or leaving it like a screen. One of the most embarrassing thing with it was I tried really really hard to setup SSH on one of the container to log in there somehow. Then I understood how to use Dockerfiles and the command called `docker exec`
I thought Dockerfiles are the most amazing thing I have ever used for docker. But then I got introduced to docker-compose, and now it’s same with kubernetes
Now a days I read most of the document before doing hands-on on any new technology. -
Today I finally solved a docker problem I was stuck with for 2 days.
For some reason it didnt want to download the needed images although colleagues could download the same images. Every time I tried it resulted in a Python IO error.
Today I had enough of it so asked if I could join another project. I had to download the exact same image for that project and it worked... Setting up the first project worked as well since I had these images already.
I still dont know why it didnt and later did work, but that is the life of devs.1 -
fucking docker
fucking compose
fucking linux
why can't this shit ever fucking work properly? without any motherfucking drama and timewaste?
Step 7/9 : ADD _scripts/setup_postgres_readonly_user.sh /tmp/setup_postgres_readonly_user.sh
---> 5a8cc407913b
Step 8/9 : ADD run.sh /run.sh
---> db2b76e84849
[...]
setup_databases | /run.sh: line 6: /tmp/setup_postgres_readonly_user.sh: not found
fucking waste of 3 hours I could have done ANYTHING ELSE but stare at this shit trying to figure out why the fuck these things just won't work as they're supposed to.14 -
I think I'm obsessed with Docker. Started off as a PITA and now I can't seem to do a project with out it :/3
-
I just woke up and on my computer screen there’s big announcement.
Github launching code package registry beta program.
Available repositories: npm, gem, mvn, docker, nuget.1 -
We heard you like security so we put antivirals in your docker containers despite the fact that we made you have antivirals on your machines running the docker containers.
And we won't allow to use root just in case you want to disable the av. And we don't care you need it for the docker 😂
This is how I was played when wanted to use docker containers to avoid dealing with OPS.
Some time passes, my team is going to have independent cloud infrastructure.
Doing corporate politics is challenging...5 -
Spent the weekend geeking out getting my head around a proper Docker based environment for my development env at home and for the team... 90% done and I couldn't figure out why I couldn't start my Splunk instance up.... I'd set the default logging to Splunk.... Chicken & Egg probs!
But how awesome is docker with portainer and app templates eh?! -
I had to argue with my lead today, to prove that docker is actually a container technology and not a CI CD pipeline -_-
That too in the team meeting.
P.S. Not much of his fault though, as ours is a mobile app development team :/5 -
Deploying into linux containers (lxc) as of 2013 before docker even was da hype.
(Experience was a bit problematic tho, as it was in a highly virtualized environment whose backup would really badly kill the whole container every now and then: you could still ssh to the machine but with every access to the file system you'd lose your shell. and only the "echo 1 > /proc/sys/kernel/sysrq" would help to restart the box.) -
Everytime i think im going to learn about docker, someone comes along with another comment about how docker isnt so great.6
-
Dear Docker Support,
You suck.
--
regards,
User with unanswered ticket for a month (and not the first time)3 -
Installed celery...
ran my code...
error...
module 'celery' not found...
wondered why...
reviewed...
didn't install it properly in Docker...
end of story -
Fucking docker on arch linux. Jeeez fucking hell.
Use docker to run the wallet they said. It works just fine they said. Fuck that.
Internet is not working in docker and i have no clue why. Hours into debugging it and still nope.
If anybody has more experience with docker on arch then please tell me how to fix this shit. Yes i have tried sudo sysctl net.ipv4.conf.all.forwarding=1 and sudo sysctl net.ipv4.ip_forward=1
Both of which did bullshit. Still no internet. Fuck this shit.24 -
Dear Docker for Windows I know you exist to make devs on Windows life easier. But DEAR GOD, with all the firewall/group policy problems..you have been the pain of my existence during this short time developing on Windows.
Literally have a countdown on the time left until I get to no longer do a rain dance for my development environment to work.2 -
Just started learning Docker. The thing that seemed complex a week ago has started to unwrap the wonders it holds. Hope to make it work to ease up some of the team's deployment headache. Though there were hurdles related to firewall, company intranet, network antivirus, domain sharing etc. But managed to resolve it today.2
-
Rant against me:
I am a fucking moron for not getting to docker soon enough. Should have started udied it and built dev environments (at the least) for years.
I think it was another user here is that recommend some tutorials heyheni...I should have listened to you sooner bro13 -
Me and a couple of my friends at the IT dep stationed in the school servers will do something a little interesting for tomorrow
we will alias gcc with the error message you see when the compiler does not recieve any input files in the Docker images in their build CIs.
oh dear -
I've officially started my blog.
First blog post is about docker and dotnet core.
https://blog.mrcsharp.com.au
What do you guys think?7 -
I deployed docker on a VPS a few weeks ago as a sort of learning experience since I haven't really worked with containers much before. Today I learned that docker doesn't like firewalls.
Or, to be more specific, it adds rules to iptables that are applied prior to ufw rules, allowing external connections that I really didn't want to allow. If I don't explicitly specify that a port is to be published only to localhost, then it punches a hole through my firewall without telling me.
Which means that all of my containers running behind an nginx reverse proxy that auto-redirects to HTTPS... were also accessible directly via HTTP.
I'm... trying to think of a reason why this kind of default behavior was a good idea, but I'm drawing a blank.
Fucking Docker.4 -
Does anyone here uses Docker for all the environments (dev, qual, prod)?
If yes, how do you feel about it? How it is?8 -
Question about permission in `docker-compose`
So far, I've usually used vagrant for local dev. It was nice, as I was able to specify `wack:wack` as owner of all files. However with docker compose, if I connect with exec and use `/bin/bash` I'm logged in as `root`. When I then run composer, it kind of fucks with the file permissions, as after it all new files are owned by root and thus can't be edited with an ide on the "host" system.
One hack that I found suggested creating an user and a group with same uid as on the host and use that instead of root. This just doesn't sound right to me. Any advice on how to handle this situation?6 -
Not much of a rant, just laughing at myself. Typed in docker run android instead of cordova run android and sat there waiting for a minute or 2 😂
-
Boss told me to create a Docker Container for my Selenium Tests...
Mission Failed, my boss gave me a 32bit Windows mashine...
Probably i should install a new OS... -
I finally got Docker to fully work...my final problem was a missing } in the nginx.conf and I needed someone else to find it, I stg i'm the worst at networking2
-
Having a shit of a time trying to figure out why Docker containers are not accessing other containers via domain names as they should technically be going through the jwilder nginx proxy container.
Why can't environment setups ever be simple? -
This more of a tifu but to be short and concise..
4 months into the job, still learning the hang of docker, exposed a critical port that collided with a node, crashed our entire internal docker ecosystem. What a day... -
Some time ago I was looking for materials regarding Ansible automation tool and realized that most of them suggests setting up the lab environment using virtualization (like VirtualBox). In my opinion that is not the best approach – virtual machines consume lots of resources and take some time to start/kill. So I decided to write a guide for setting up Ansible lab environment using Docker containers. Containers require significantly less resources than vm’s and can be bring up and down really quickly. Additional advantage is easy way of automating whole environment using docker-compose. You can find my guide at github: https://github.com/LMtx/... Any feedback is very welcome :)3
-
So I'm learning docker. As I see it, I can make an image that runs code in any number of languages then I can package it into a .deb file that people on a few Linux distros can just install and run. https://blog.codeship.com/using-doc...
If I'm making a non-Gui command line utility, can I not also just pop the image into a .pkg, an .rpm, or an msi? Then my super crazy docker build can run natively in a shell on any machine that supports one of the packages I create? Or am I missing something?1 -
I have been experimenting with Docker and reading articles on it. I was wondering what are best practices for building Docker images. Many articles have recommended that use Alpine base images because they're small and more secure.
Let us say that my application needed Postgre. What is the best approach?
1. Use the Alpine Dockerfile provided [here](https://github.com/docker-library/...) at Github. Download the file and go to where its located in my terminal and enter *"docker build"*
2. Creating a Dockerfile from scratch and using the command *"FROM postgre:10-alpine"*
3. Use the Alpine template file provided [here](https://github.com/docker-library/...)3 -
Following.
https://devrant.com/rants/2123585/...
AWS summit, speakers talking about technologies that amazon didn’t build but they provide on its cloud.
All about how it’s awesome to use those technologies on its cloud infrastructure.
Feeling like I’m on some bad advertising summit.
I heard docker, containers like 100s times already.
On one of the slides they claim that 85% of tensorflow workloads are on their cloud.
That’s powerful statement.
Looks like enterprises are all on the way to Oracle 2.0 called AWS.5 -
So, right now we upload production code by means of FTP.
I said it would be better to use continuous deployment using Docker, but they said it was overkill (I work at a small company).
Because manually uploading by means of FTP is so much better right...6 -
Why is Docker + SSL certificates so confusing? Or do I just have bad resources?
I just want to know how to compose an Docker, Nginx setup with encryption.11 -
After two weeks of struggling with Docker, I can confidently say, this is the worst shit I've ever worked with.
$ php bin/console make:migration
ERROR: php_network_getaddresses: getaddrinfo failed: Name or service not known
Well let's try again...
$ php bin/console make:migration
ERROR: Connection refused
Different error messages for the same commands?! FUCK YOU!!!9 -
What certifications do you guys have, and which do you recommend having?
I'm currently pursuing AWS Developer Assosiate, and in the future Google certified Android developer and MongoDB developer.
Been thinking about Docker but it costs too much15 -
Currently writing a long-ass new issue to the Docker/CLI repository, to tell them that their online documentation for the manifests is absolute garbage. I mean, a documentation is supposed to tell you how to run commands, not something like "Yeah you try it and maybe it'll work. No it's not the good format, you dumb fuck. Nice, bro, but if you check what changed... That's right, nothing changed. At all. For no reason. Keep trying, it's fun!"
-
So some people really liked the last article I wrote, so I figured I'd share this one that's kinda on the same topic:
https://medium.com/@ksiig/...9 -
Monday morning
Get to work
Open email
Ci went crazy
Slack is on fire
Some npm modules deprecated approach
Rewrite docker files
Some other npm modules disappeared.
I hate you web technologies, I hate you developers who make releases Friday night.
I hate everything.
Ffs on the weekend just build Ikea fornitures instead of fiddling with my stack!
Sigh.2 -
I see a lot of comments on here about how people hate one OS versus another. Everyone has a gripe with <pick your OS>. Do devs need an OS made for them? Is Linux that OS or are we still waiting for the One True Dev OS?
I got to thinking something that is based around the Docker concept. Where every app runs in its own world. Would this be terrible?
I have no experience with docker so I don't know the technical issues. I know Docker exists on top of OSes, but could it be useful at a lower level?13 -
I wanted to create and use Docker from scratch but I have little time so I'll just use Laradock. Will just study the details of docker as create my project. And while typing this lining in a supermarket cashier I feel the urge to poop damn. Good to thing my condo is just near.
Poop = progressive object oriented programming2 -
My standard pattern for using 'time saving' things (frameworks, scripts, new technologies) seems to be:
1) Get excited by how easy <new thing> is to use.
2) Spend the next 12 hours trying to work out how to work with this new shit.
3) Realise I'm now further back than I started.
Today has been docker.
Easy to run my new Wildfly docker container.... can I find the IP address to connect to? Can I fuck.3 -
So, i'm trying to get linkr (a pretty cool short link service) to work in a docker container since 4 hours now to host it on my server. There is no official container because it needs a working database connection and stuff during installation which can only be done via console and (for whatever reason I couldn't find out yet) need to be done while building the container. The problem is, I can't connect it to the database while building the container so there is no database during installation to create tables and stuff and the build will fail. ARGH.
Why the hell would you do this????? Theyre actually saying in their readme there is no dockerfile because the config options are specific to your configuration...?!?!
The thing is entirely written in python, so reading and parsing configfiles on the fly should not really be a problem.
Of course I could ssh into the container and run the installation script but that's not the point.
Docker is not about being lazy.
It's about portability.
Maybe I don't want to bloat my server with your 39579372639 npm dependencies? Or I don't want to install a freakin apache, because I have every other site on nginx and therefore wouldn't work with apache.
AAAAAAAARRRRRRGGHHGGGGG
in the end, I'm probably going to modify the thing to install tables when running the container and giving the first user admin rights instead of prompting to enter credentials for a new admin user.
And yet I didn't even speak python. -
FUCKING docker-for-windows, I HATE you, random freezes, "function not implemented"... the worst is that a restart works, but every 2 hours it's FUCKING UNBEARABLE FUCK YOU DOCKER CORP !7
-
I wrote another docker blog post and this time I used it to solve a real problem at work 🤘
https://blog.mrcsharp.com.au/2019/...
let me know if you have any feedback/comments on the content. -
installing oracle 11gr2 database via docker is so easy and quick rather installing to the system
Totally saved my time, now I can have more time for learnig1 -
When you're the only one who likes docker in your team and they're still insisting on using WAMP/XAMPP. Fixing docker bugs and trying to make it work. Push! This is war!2
-
The problem with moving Docker containers from your decked-out dev machine to a VM on AWS when your boss has told you to keep costs down:
1. Start Micro instance, 1++ gig memory
2. Get Out of Memory error from app after 30 minutes
3. Goto 1 -
I can't believe the shitstorm that occured because someone didn't know the difference between a Docker Registry and a Docker Repository !!!2
-
Did you ever forgot the dot at the very end of docker build command, when the Dockerfile is in the current directory? Best circumstamces when it happens in travis.yml (yeah, forgott a dot here as well) and like always the first build there fails :D
Did ever the first build in a CI worked out for you?1 -
whoever the fuck created the docker redis image:
why the fuck are you warning me hugepages are enabled and it eats up cpu ram when you don't let me disable it?
was it your point to waste 1h of my time? well you did. fuck you very much.4 -
Amazon S3 down: Cant pull any docker images >:/ ....but I wanted to update my GitLab instance. So good that I deleted the old container and image. FML
-
Been trying to learn Docker when I hit a brick wall. How do I use nginx reverse proxy + letsencrypt with multiple containers? I only managed to do it with a single container. Using docker-compose or stuff like that I guess?6
-
Then suddenly my boss wants me to handle servers and the environment etc... can anybody suggest me some site tutorials about Docker, Dockerhub, Celery and RabbitMQ?7
-
Hell of a Docker
One application in c++. 4 in c# targeting Linux. Several logging places, Several configuration files , dozens of different folders to access (read/write). Many applications being called from just one that orchestrates everything.
OS is Linux. Installation is to be made inside a docker image and later placed in a container by means of several bash files and python scripts. All these are part of a legacy set of applications.
They’ve asked me to just comment out one line which took 3 days to find out because they didn’t remember where it was and in which application it was and what was in that line.
After changing it, I was asked to create a test environment which must have resemblance to the current server in production. 12 days later And many errors, headaches, problems with docker, I got it done.
Test starts and then, problems with docker volumes, network, images, docker-composer, config files and applications, started to appear.
1 month later, I still have problems and can’t run all applications at least once completely using the whole set.
Just one simple task of deploying locally some applications, which would take one or two days, is becoming a nightmare.
Conclusion: While still trying to figure out why an infinite loop was caused by some DB connection attempt in an application, I am collecting a great amount of hate for docker. It might be good for something, that’s for sure, but in my experience so far, it is far worse than any expectations I had before using it.
Lesson learned: Must run away from tasks involving that shit!5 -
It's quite a challenge to try and get a Docker image build as small as possible. But the worst bloat is coming from having to use CentOS 7 as a base image.5
-
First time getting my hands wet with docker. Ended up fully containerizing my company's project. Never been more proud of miself.2
-
me: *opens dev env using Docker*
me: *makes changes*
project: *permission error*
me: *fixes permissions*
Git: *Can't find a compatible repo*
asdf -
!rant. Doing some great new stuff at work to make our dev team's live easier. Finding out how to use Docker for our automated test setup, that's killing 2 birds with 1 stone.4
-
When your docker project finally runs on Linux containers after two days of debugging because Visual Studio added a \ instead of a / to docker-compose 🙄😅
-
I just finished a pretty detailed post about my love hate relationship with Docker and Container Orchestration:
https://penguindreams.org/blog/...
I cover a lot. Has anyone else encountered the same issues? What are some seriously pain points you think I missed? -
Common Docker for Windows! Are you serious? What in heavens name could you do wrong to loose access to your own ducking database?! And as if that's not enough there comes the internet in the form of Google telling me that I'm the only idiot with this problem. Sure sure. Gnarf.5
-
Use alpine, they said. It'll be fun, they said. Spent ages trying to figure out what was wrong with my fresh Docker swarm. I tried everything, then I noticed that nginx was calling some random IPs instead of the web container's. Turns out the alpine image doesn't have a library that would properly resolve the IP of the container. I replaced it with the main nginx image and it's working perfectly 🙄
-
So until now I ran bitwarden official docker image on my server but as I forgot to create snapshot before updating yesterday and the whole network got fucked up :D I installed bitwarden-rs (Rust implementation) instead... Aaand it is sooooo good! It takes only around 20MB of RAM instead of 1GB+ and it is just lightning fast. Also replaced Apache with nginx for the first time and I love it so far.5
-
!rant
Yesterday at 1:20 am, my first docker image build worked.
- I develop my software (a service in a micro-service architecture) in symfony
- I push it to bitbucket, CircleCI pull the code
- builds a new docker image
- Runs phpunit test using docker exec (lxc-exec, their docker exec doesn't work)
- If the test are successful, CircleCI push the image to hub.docker.com.
Took me hours to fix all the bugs and issues with this process. I feel so proud, yet soooooooooo tired fuck sakes.
I'll publish the template for everything,
- the Dockerfile for the perfect symfony2 image IMO (and I'll create a public symfony2 image)
- The circle.yml I used etc.
Give back to the community.
I love my job.5 -
I have never used Docker and/or Kubernetes. Motivate me to use it by telling me how cool it is.
I want to build a complete ci-pipeline but am too lazy to start... there is so much to do, and I don't know where to start.6 -
Hello, I am preparing a Docker's workshop, it's almost done but I need some help with the close, I wanna show a practical use case of Docker.
Please give me some ideas.5 -
How to force a docker container to take the MAC address of host machine? I know net=host and mac-address arguments can be used. But is there a way to get actual host MAC address even though mac-address argument is passed with some other value?
My usecase is node locked licensing using FlexLM which creates license on the basis of MAC address of node.5 -
docker is shit. It fills up the disk on its own whim and then crashes the server, and they claim it to be production ready. Stupid piece of software!4
-
Woohoo, time to nuke a server and build it into a docker host.
Heeeereeee we gooooo... wish me luck2 -
Attempting to get back on the docker container hype train and I get this error.
Find the issue, and Microsoft's response 'oh...ha ha...our bad. We may or may not fix it. Sorry, sucks to be you.'1 -
Midnight fucks to docker again for flushing my firewall rules and for crashing containers when I add them back just so that my services don't get exposed to all retarded script kiddies probing ports and services. Nice going.4
-
Never ever mount a btrfs sparse file (-o compression-force) to /var/lib/docker.
- 70% space usage 😀
+ 300% random system freeze 😰 -
I don't know docker. Could it possibly make sense, at least for development, to containerize a digital synthesizer so people don't have to mess with Portaudio?1
-
I've just poured my whole day into dockerizing of a Rust app.
+ How well do you manage your time?
- Yes.
I think if it's docker, then it's understandable.3 -
Received email from Docker that they’re limiting anonymous container pulling to 100 requests per 6 hours.
It’s time to die for this company, that’s their last breath.
More about this on their blog here:
https://docker.com/blog/...2 -
So, is it a bad/good idea to run *every* service I want to use on my root server in docker containers?14
-
Every time (by which I mean 2 times so far) I update docker something stops working in one of my containers. Is this common or just my incompetence?2
-
YES! YES! YEEEEES! FINALLY!
I've been trying to get some systems to run successfully on docker swarm. Now forget a regular swarm, there have issues just getting it to pass CI builds, and Finally, YES FINALLY it passed!!!!
I now need to pass my self on the back... -
When a reboot kills your Docker service and the recovery script bricks the hardisk, it would be nice to have a not so old backup
-
Anyone know of a good docker backup tool?
I'm working with fairly limited space here so Im looking for a tool to allow me to backup and restore my docker instance without storing easily recreatable data.
That means that what I want to backup are:
- Container specs (inspections or the like)
- Contents of persistent, non-nfs volumes
Since the image and the contents of my nfs volumes are stored elsewhere, and my space is limited, I decided not to back them up. Same for non-persistent (unnamed) volumes since they mostly contain stuff that you don't want to recreate on every container update or recreation but can easily be recreated if needed.
The hope is that this approach should give me a pretty slim backup while still preserving everything I need to recreate my whole docker instance.
Thanks in advance!11 -
Is it just me or others too feel that docker completely nailed it with their naming convention.
Like docker, containers etc are so aptly named by their functionality.1 -
Docker is giving me grief... again. Sigh.
I have a feeling docker hates me, just doesn't want to play nice.1 -
For PHP guys here. Are you using Laradock, Vessel or custom/vanilla docker written from scratch? I'm currently using Laradock.
What are the pros and cons? Thanks! 😀2 -
Fuck ubuntu 18.04 with their snap format. Yes it's good for things that ubuntu users need, like libreoffice or Chrome.
But GOD SAKE WHY DOCKER ?
21 days ago it was not even possible to modify daemon.json reliably xD4 -
Dev : I swear it works on my device!!
Manager : Okay! Then we will ship your device..
And that my friend is the story of how docker was born5 -
Fucking AWS Elastic Beanstalk took a week of work to get fucking mounts set up. They invented their own version of docker compose that is missing half the features so I had to work my way from hacking their scripts to include options they don't support, to restarting the whole fucking docker service on every fucking deployment and now the shit finally works. How can most StackOverflow answers just say restart docker, this shit is not ok! I fucking hate sysadmin work. I want to code :(
-
Anyone ever passed docker builds between stages in gitlab ci?
I'm googleing my ass off and doing it via caching atm but it's unreliable. Artifacts are no option either for 2gigs of image.
It'd be nice to drop this `docker save --output image.tar` solution altogether..
Am I the only one trying to have seperate build, test and deploy stages for their docker builds?16 -
Any one running Symfony on a Docker container in production? I currently try to migrate our dev env to a docker compose setup (from a "monolith" vagrant vm). I'm atually not stuck at a Symfony specific thing, but on a, I guess Docker specific one(?), The issue is, I need to read and write with two users to one folder (in my case the /application/var/cache folder). Since I mount my whole code into the docker container (to use an IDE on the local files), I've got a volume (not mounted to the outside world) for that folder. (As far, as good). Now this folder is owned by root and root is also the user I get when I enter the container. When I then run a cli script, that writes to this folder, every thing works (as it's run by root) and the resulting entries in the cache dir are owned by root. Trouble starts when the php fpm process tries to write stuff in there too (as it's run by www-data).
If I add `USER www-data` (or create a new user foobar and add `USER foobar`) the container exits with status 0
So I guess the question is, is anyone running an Symfony app on Docker in Prod, if so how do you solve this? Or another question would be what is the best practice to do this? Sure on dev I could just `chmod 777` the whole folder or run the php-fpm process as root, but if that thing ever goes to prod, I wouldn't sleep very well... -
I'm not liking docker so far. I assume it gets better later, but I've had a miserable experience using it as part of my dev environment so far. Just now I updated it and it broke my db container, so now I'm looking to either downgrade docker or fix the issue, both beings things that take time away from coding.2
-
So I am running Spark on Docker. I have hardcoded the docker-compose file to 1 master and 3 workers which works fine. What would be a good way to dynamically scale the number of workers up and down through the command line ? I guess we have to use --scale or replica, but how ?
-
Getting started with docker swarm, not sure if I understand everything yet. So many questions to ask..1
-
Docker is building my scripts to slow. On windows script building is flying, but on Docker(which runs Linux) is slow as hell.7
-
Email-server: Installation directly on the server vs docker-containers. Does anyone here have positive/negative experiences with any of them?10
-
Just bought Intel NUC and installed CentOS on it. Mounted NFS from my NAS. Installed docker, downloaded factorio image and started server. Now I have my own game server lol.
-
[what happens if a Linux user wants to try a game out]
I've created a Docker image that uses Wine for playing Sonic Utopia Demo.
In case you don't know, it's a experimental game that shows how Sonic games should have been from the beginning. (not the official description) I highly recommend playing it.
Sonic Utopia: https://youtu.be/5paaz16Nw20
Docker Hub: https://hub.docker.com/r/orhunp/...6 -
Why the heck does everyone thnk it's a good idea to run docker Containers inside a vm?
Or Containers in general...
This is unneeded redundancy and it kills the performance aspect, which makes containers favorable in comparison to vms...3 -
I feel stupid about once or twice per day because of samll and obvious mistakes I make.
But maaan I feel dumb as fucking rock when I read the Docker documentation, I don't understand any fucking thing, and as usual, I can't find 2 websites with the same opinion about anything
I JUST WANT TO MAKE MY THING WORK, PLEASE -
Has anyone had issues with the Docker Go Client (moby) and using containers with pointers? It would seem that the client swaps pointers or something, so I'd have to use the value instead. Might be very unclear, but if someone's had similar problems, I think you'd understand 😅1
-
WSL works nice, i'm using Ubuntu 18 on windows 10, running windows docker engine and using it via linux client. What about you?5
-
Docker newbie question
Does anyone have any insight on how to rclone mount a drive , and map a volume to it for persistent storage?9 -
Docker deployment
Wondering how you guys are doing docker deployment (angular, php, whatever) on self hosted servers from a private gitlab instance ?
Also most recent gitlab release seems Very promisssing on this.
There's a lot info on deploying to aws or google but not on this case (at least clear)
Would like to hear from you about your setups1 -
Is there any kind of protocol/method where I can use something like docker containers in order to "host" compilers like gcc and use that with vscode to compile and assemble source code?
No I'm not talking about volumes (it's a bit tedious if I want to use it to manage numerous projects)3 -
Me: I want to deploy a simple WCF Service in a Docker container on Windows Server....
Docker Whale: nah bro....
Me: but but but you have been working with Windows for about a year this should be a simple simple task
Docker Whale: here let me your IP address every time so you can't ping locally or guess what I'm going to next. -
• Compiling cool stuff in docker : ✔️
• Forget to mount a volume to get the result of my compilation: ✔️
• Trying to copy the whole thing elsewhere and having a crash of the docker daemon : ✔️
😫1 -
How can it be a galera cluster with three DB servers (running in docker) is slower than a single docker container with mariadb under the same load?6
-
Been watching lots of videos about Docker lately, yet I still can't wrap my head around it. Especially that I'm just new to web development.11
-
Hey guys!
Well, two weeks ago I was hired as backend developer. I am the only one with macbook. The company use docker for development... On Linux, there is no problem. Docker is up in like 5 sec. But on my mac, it takes like two minutes and refresh like 20 sec. Our front end with macs has same problem. Have anyone expirience with docker and mac? ❤
Thanks a lot!4 -
I'm having this strange problem I cannot figure out:
2 Linux servers with docker
one of them acts as docker registry, the other either pull or push to that registry.
Pull works without issues.
Push: pushes to itself, the server is not pushing to docker registry even though the container is tagged with registry ip:port/name
Anyone has a clue, SO not being helpful on this :\4 -
Is rkt worth using than docker. I do know the pros for rkt over docker, but on the long run which seems to be better. My manager is worried about the memory consumption. Docker is big obviously when compared. Am I wrong?1
-
How many of you use QMK? I'm thinking of a docker-based bootstrap project for it. The benefits of the project are that you don't have to fork the qmk_firmware repo and install the dependencies; this results in a 1-click compile on any OS, and a very clean repo for other to look at and fork.
-
Tried setting up a Cordova project using Docker (less dirt when I stop with the project or something)...
All cordova commands exit without error or anything...2 -
Can you start services manually when using docker compose?
As in having container A, B and C with an executable A, B and C (originating from the same source btw) where I can start/stop A, B, C independently?
All examples seem to use it as a whole thing where all containers must be up for the service to work.3 -
Spent ages building docker containers for all our projects. All worked great and I released it. So someone added a new dependency that required an Ubuntu package to be installed but forgot to tell me. My colleague said "docker isn't very stable is it" when it didn't run due to said dependency. It's a Linux container ffs, see if you blame Virtualbox under the same circumstances you idiot
-
Is there a way to run docker and virtualbox at the same time? (in windows) Because Docker uses hyperv..13
-
Monolithic (compiled to native executable) 20MB application for internal purposes only (in-house developed hence source is available) is bad/unacceptable but Docker container (based on public image) of 800+ MB is good?! O tempora, o mores!
-
Disclaimer: I am relatively new to this. Feel free to use a tone you'd otherwise use to explain to a 10yr old.
I am trying to run a rails app on docker. I came across permission errors while I trying to edit some of the files. After a couple of searches, I found out it is because docker, by default, creates files as root. I have been reading for a while now and I can't, for the life of me seem to understand how to implement USER instruction as recommended in the docker documentation.
Here's a link to my dockerfile https://github.com/Melvin1Atieno/....5 -
I've been using Docker for almost two years now, I've to say it's a super powerful tool and allow easy environments deploys, but I keep questioning why people use Docker in production? Even in the place I work they do and they can't explain it very well
I mean, you are creating a container that hosts services in a computer that already have services running, being one of these services the Docker daemon, all this shit doesn't add a lot of overhead to the application?
I mean, it's not better to just install python in Ubuntu instead installing Docker in Ubuntu, run the Docker daemon, start a container with other services and now I run python?
Just saying6 -
Apparently most of Docker got just acquired by some company called Mirantis baked by corporate.
Source: https://techcrunch.com/2019/11/...
Seems like that’s end of some era.
Looking forward if they would contribute to open source container platform.1 -
Who could explain what a container is? Like a Docker container, but not necessarily Docker. Google doesn't provide simple yet meaningful answer (or there is something wrong with me today). Any ideas?8
-
Is docker even suitable for anything that isn't deployment?
So much time, so much effort, so much trial and error, and I still feel like I don't know what Docker is for.
I had a development VirtualBox machine, which I used just to compile my code and test my application. So I said "why don't I just use Docker? It would be way simpler". Also because that fucking Virtualbox image was like 10GB, and it was slow af.
The VirtualBox machine wasn't created by me, but it was just given to me by a previous developer, so I just had to imagine what I needed and pick up the pieces. In few hours I was ready with my Dockerfile.
So I tried it, and....... obviously it didn't work. I entered inside my container and I tried to manually execute commands in order to see where it breaks, and I tried to fix each of them. They were just the usual Linux dependencies problems, incompatibility among libraries, and so on.
Putting everything in order, I started over again with a virgin Ubuntu image, and I tried to fix every single error that appeared, I typed something like 1 hundred commands just to have my development machine up and running.
Now I have a running container that works, I don't know how to reproduce it with a Dockerfile, and I don't know what I'm supposed to do with it, because I'm afraid that any wrong command could destroy the container and lose all the job I did. I can't even bind folders because start/exec doesn't support bindings, so I've to copy files.
Furthermore, the documentation about start/exec is very limited, and every question on StackOverflow just talks about deployment. So am I wrong? Did I use containers for something that wasn't their main purpose? What am I supposed to do now? I'm lost, I feel so much stupid.
Just tell me what to do or call a psychologist8 -
Question about stacks: I've got a .deb file that I can't install on Manjaro. I can't use dpkg because the dependencies are nonexistent in manjaro's repositories. Should I look for a way to install with dpkg or should I learn docker?6
-
Executing a docker image without having a minimum amount of trust in it beforehand is like your grandpa clicking on a random lottery winner ad.
-
I’m trying to add caching functionality in my scalable spark cluster on Docker. I am able to add redis to my Docker container, but that doesn’t add redis-CLI or any other useful tools that I need. And there are some redis-cache projects on PyPi, but they are very old and not compatible with python3.5
-
Have you ever stuck between user permissions, docker, Jenkins and Linux?
Running a docker with a particular user that doesn't have permission to folder inside container. user permissions should be same on host and inside container. When I did that container user does have permission of certain file on the host.
Successfully wasted my day on fucking things.
I have to again start with this tomorrow wish me a luck.4 -
Hello everyone,
I've got a somewhat special issue with my setup.
I am running an instance of `lucaslorentz/ caddy-docker-proxy` as proxy that handles certificates and request and proxies them to docker containers that run `abiosoft/caddy:php` to host Laravel based applications. The problem is, that the `abiosoft/caddy` containers do not know it's assigned hostname and thus Laravel's `asset`, `secure_asset` and `url` respectively `secure_url` don't work as they use the internal hostname which would be an IP address and thus requests go to 192.168.240.x instead of example.com.
I am not yet entirely sure where I should tackle this problem and am grateful for every hint.
I am currently also evaluating traefik instead of Caddy-docker-Proxy and Caddys v2 official container instead of abiosoft's Caddy v1 container but I guess, that this wouldn't solve the issue as the container still wouldn't know that it's given Domainname is example.com4 -
What container/virtualisation technology do you guys prefer?
Also I've been thinking of picking up either k8s or docker, mainly docker for ease of deployment or do you think it's wortb learning both perhaps? I do know they have a bit of different use cases6 -
MySQL docker container randomly just redeployed itself. Because he can.
The worst part is that it pulled the last mysql-percona image (5.7 strict mode by default plus more) and I cant revert it!!! looooool
And you know what its the best thing? is that today is friday!! Best weekend ever 10/10 would repeat again fixing sql's everyday2 -
First dotnet core and docker project
Keeping is real simple with another "as-a-service" solution 😂
https://github.com/nwestfall/caas -
Why the fzck do you release new features in your engine and change how port-mapping works but don't make your deployment tool compatible? I look at you docker!
-
Anyone use docker in production handling monies and hundreds accounts? In Django in my case but doesnt matter the framework. More concerned with security and stability moving from paas to docker based paas. Worried I'll move everything to docker and end up moving back to vms bc of some issues or some vulnerability.
-
For what ever reason I can't for the life of me type 'docker' on my machine, it just always comes out as 'dicker' #programmerproblems
-
So, what happened to infrakit/deploykit? They ditched docker machine and I've missed the whole story.2
-
If anyone is looking for a great tutorial on getting started with a docker cluster check out https://dockerswarm.rocks/
I had a 4 node cluster up on Digital Ocean with Traefik + Lets Encrypt, Prometheus, Portainer, Grafana all that good stuff in under 2 hours. Not much longer to test a basic WP and Next Cloud container with full SSL. Neat stuff. Just burning through $100 credit for testing but it's been fun5 -
Django project in a docker container in an ec2 instance of my aws vpc... i did use elastic beanstalk though, but needed to let my media files be uploaded to S3... couldn't figure it out yet...
-
Not sure if this is somehow standard but have a new dev process we need to use to deploy a Docker image to an Openshift container.
(Is an container one node/vm or could be many?)
In the Jenkins build it seems the files are copied to in Docker image.
But they aren't copied to the container/OPENSHIFT deployment image. There's something mentioned about config map but not sure how that's related to file copy...10 -
Its annoying. Spent again hour trying to make run my symfony app with docker - and fucking does not work and is not clear why. Why this fucking docker is so unclear? Like does not see autoload.php file but I see it installed. Idiot docker.5
-
I was finally able to set up a server with my coworker's help in our work office. After struggling trying to get CoreOS to work, I quit and just went with Ubuntu Server 16.04. It's a SFF PC that we had lying around. The purpose is to run applications in Docker containers for QA, demo, and performance testing. I can say it was truly a productive day...
-
Currently doing Drupal in WSL with Docker on the side in windows 10. I'm a sucker for punishment on so many levels
-
My colleague is trying out docker for the first time. He is installing stuff so that he can add the same steps to gitlab yaml. I will like to see his reaction when he will start the container next time.
Waiting now and hoping that he will save the container. -
Finally a good answer on how to wrap my Go web app in a container. https://stackoverflow.com/questions...1
-
If someone can shed some light on this behavior, would be appreciated:
I am running a couple of docker containers with lighttpd on my server (lighttpd is also installed on the host server for reverse proxy). Now whenever I kill lighttpd on my host server it also kills ALL the running lighttpd instances in my docker containers. Isn't docker supposed to be, idk, CONTAINERIZED?2 -
Why in the fuck does everyone expose specific ports in Dockerfiles?
If I wanted to expose the port, I would fucking expose it.
Currently can't run my home infra platform because I'm running two separate instances of Maria DB on the same private internal network. These are two databases for two separate applications.
Why don't I run them on one? Because they're two separate fucking applications.
Why the fuck can I not do this when I used to be able to do it a week ago.
Stop exposing your fucking ports in your fucking Dockerfiles.
This shit is getting so bad, I'm just about to throw my towel in on all fucking containers and just install everything in multiple VM environments.
I am God damn appalled that after 8 years of using docker, core concepts like a port exposure is being leveraged as a way to somehow circumvent poor security practices.
You want a secure container environment? Expose your own goddamn ports.
Fuck you Maria DB, and fuck you docker.2 -
My load balancer with docker and redis database works fine bu5 I can’t access my web service. I get a “connection refused” error message.6
-
My docker container does not have internet access. I tried so many things from multiple places but unable to resolve the issue.
Please help anyone has faced this problem.
Specifications - CentOS 7, docker ce 19.3.016 -
I am making a personal which is a social network which allows users to edit videos (cutting, changing formats) and post them for others to see.
I am planning to go for
Docker as the infrastructure, but I am just massively confused on where should I host it? Digital Ocean, GCP, Azure, something else?? -
Does someone know how to set up plugins for airflow?
In particular do you know how I set the PYTHONPATH env var for the docker container to Import my custom airflow plugin?