Mamy tu jakiś speców od Dockera?
Próbuję skonfigurować dockera używając podmana i udało mi się uruchomić kontener i podpiąć katalog z hosta do kontenera, ale sieci nie ogarniam.
Kontener jest uruchomiony na zwyklym uzytkowniku na serwerze. Działa dostęp do DNS i webowki z laptopa, ale z androida juz nie i nie mam pojecia co jest. Jak zmieniam dns na telefonie, to wifi krzyczy, ze niema neta.
Ta adresacja takze jest dla mnie jakas dziwna. LAN ma adresacje 192.168.X.X, a kontener ma siec 10.X.X.X.
Juz chyba wszystkiego probowalem. Wylaczylem firewalla na serwerze i chyba wszystko co blokuje reklamy na androidzie, ale nadal dupa.
Jakby kogos interesowalo, to probuje skonfigurowac "Technitium DNS Server"
My new #Docker container home page. It's called "Flame" it's so damn simple it's lovely.. Thanks to @thelinuxcast for telling about this one ;) #FOSS#Linux
Found my first issue with using a Dev Drive, and wanting to have access to it from WSL: apparently the way Dev Drives mount in Windows is not compatible with the WSL auto-mounting.
Why does this matter? Docker Desktop (in WSL 2 mode) can't mount a Dev Drive folder.
Do I dump WSL 2 mode for Docker? Or do I dump Dev Drive? Tough choice, but I suspect I dump the Dev Drive.
In the past few months, I created a bunch of Docker 🐳 tutorials covering random topics, from a fun setting for a Python 🐍 environment on the CLI to advanced topics such as multi-stage builds 🏗️. I organized all the tutorials under one folder, and I plan to keep updating this folder with future-related ones 😎.
Currently on my Docker tutorial TODO list:
➡️ Docker ENTRYPOINT vs CMD
➡️ Docker multi-architecture build
Is there any good Blog post to learn #uBlue customization with relatively limited knowledge about #Docker? I don't like the idea of a distro that I can't customize easily so normal #Silverblue doesn't sound like my favorite choice but uBlue, #VanillaOS and similar approaches sound very tempting and I love the concept of #Atomic distros in general! Also, do you think it's easy enough to learn to imediately switch my main computer over or should I do some more testing in VMs first?
Getting started with the Dev Containers extension 🚀👇🏼
The Dev Containers extension is the main reason I moved to VScode, as it provides a native and seamless integration of Docker 🐳. I started to work on a sequence of tutorials focusing on the VScode Dev Containers extension. The first tutorial on the sequence focuses on getting started with the Dev Containers extension;
Anyone here have experience updating a Dockerized Perl application? Specifically I am looking for help upgrading the app from 5.26 to 5.30 and how to rectify errors where some libraries (I think?) were built for Perl 5.26 and won't work under 5.30?
When we looked at how to dockerize a node app, I said that you create a docker image and then run it as a container. So, how do you list the docker images on a system? You run docker images.
Like a VM or a system running on bare metal, you can get a shell inside of the docker container. The first step is knowing the container ID for the container you want a shell for. If you look at the output from the docker ps command, you can find it.
Once you know that the image is there, know if it is running or not, and have a shell inside the container, you should be able to find what is wrong with your container.
Have a questions, comment, etc? Feel free to drop a comment, below.
Another reason to run things such as #RabbitMQ as a cluster: If the #Docker image is missing the #arm64 arch one pod will stay pending while the continues working
Back in 2022, I created “Good Morning, Milwaukee!“. It is a bot that posts every day at 6 am with the weather, the times for sunrise and sunset, and a photo from around the city. When I first wrote it, I wrote it in Node and put it up on Pipedream. Lately, there have been some issues with the weather API that it was using, so I decided to replace it with the OpenWeather API but I figured that while I was at it, I would rewrite it in Python, dockerize it, and run it on my new home lab server.
Let’s start with what the actual Python script looks like.
If you want to reuse this code to create your own bot, there are variables at the top for api_key, zip_code, and mastodon_access_token. The actual posting is done using Mastodon.py.
So, what would the Dockerfile look like?
You’ll notice that it also needs a requirements.txt and a crontab file. Lets see what those look like.
Just make sure that you have a newline at the end of your crontab file. At this point, you can run docker build -t gmmke-app . to build the docker image and then run docker run -d gmmke-app run the container.
The #pandoc#Docker images had been experiencing some bit-rot, but have been updated and are back in service now. The images include the latest release (3.1.13) and the current development version. They continue to be available in the four flavors minimal, core, latex, and extra. #TeXLaTeX images now ship with #TeXLive 2024.
I started a prototype of a framework-less #php architecture, using #docker, on my playground. Separated public and private files, enabled autoloading using composer and PSR-4. It's fun! 😀