danie10, to technology
@danie10@mastodon.social avatar

6 Really Good Docker Containers to use on your NAS

Docker containers are a great way to add functionality to your NAS outside the available app store. Whether you’re running a Synology enclosure or a DIY server, it’s possible to download and manage container images.

There are thousands of contain ...continues

See https://gadgeteer.co.za/6-really-good-docker-containers-to-use-on-your-nas6-really-good-docker-containers-to-use-on-your-nas/

#docker #selfhosting #technology

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/5) 𝐇𝐚𝐩𝐩𝐲 𝐒𝐚𝐭𝐮𝐫𝐝𝐚𝐲! ☀️
Here are a few steps you can take to reduce your Python 🐍 image size 👇🏼

TLDR - Using slim image and multi-stage build

#mlops #python #datascience #docker

mobileatom, to drupal
@mobileatom@flipboard.com avatar
linuxiac, to TrueNAS
@linuxiac@mastodon.social avatar

The upcoming TrueNAS SCALE 24.10 (Electric Eel) release promises powerful Docker Compose integration, improving app reliability and portability.
https://linuxiac.com/truenas-scale-introducing-game-changer-features/

tanepiper, (edited ) to random
@tanepiper@tane.codes avatar

We've been running our platform for a couple of months now, and overall it's been going good - but one thing we haven't been able to solve is running self-hosted GitHub Action runners with .

We are running them as a scale group per GitHub repository (we have monorepos so we don't need many) then within that run 1 instance during 'office hours' and scale down to 0 with ad-hoc needs at the evenings and weekends.

jonspark, to CSharp
@jonspark@howdee.social avatar

Is C# development still tied to Windows? It's been a very long time since I looked and I’m curious what people's preferred development environment is…?

ggmueller,
@ggmueller@mastodon.social avatar

@jonspark Been developing for 2 years exclusively on Linux (PopOS) now.

Works very good for backend development, deploying via

is my IDE of choice on Linux.

ramikrispin, to opensource
@ramikrispin@mstdn.social avatar

I am excited to present at the Dev AI conference in Paris on June 19!

I am going to run a workshop about the deployment and monitoring of ML pipelines with free and open-source tools. This includes using tools such as GitHub Actions and Pages, Docker, Python, Quarto, etc.

More details are available on the conference website👇🏼
https://events.linuxfoundation.org/ai-dev-europe/

Thanks to the Linux Foundation and the conference organizers for the invite!

#opensource #docker #github #MachineLearning #DataScience #python

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

I should have known that @rafaelldi would have a great post on getting tools inside containers. This guy is too smart!

https://rafaelldi.github.io/diagnostics-tools-inside-docker/

foxmask, to random French
@foxmask@framapiaf.org avatar

Vous auriez des préconisations best practice pour utiliser docker et produire des images pour des applications tournants dans un tomcat ?
J'avais dans ma todo list

  • Avoir un serveur pour hoster le private
  • pour les images, externaliser via des envfile les variables d'environnement pour
  • bouger le dossier docker par défaut qui est toujours toujours trop petit
    J'ai pas encore regarde ou
    A quoi dois je me préparer ?
jhx, to random
@jhx@fosstodon.org avatar

over in a simple compose file. Was kinda curious to test that... so here it is:

Hint: Adapt it to your needs 😎

https://gist.github.com/jhx0/0633020fe0bdba195a3eb71f34e307f0

ezhevita, to Russia
@ezhevita@masto.ezhevita.dev avatar

#docker hub is now banned in #russia, surely that would help to fight putin and would not make propaganda use this fact

they were so lazy they didn't even updated the block message, there is only a mention of crimea in there, not russia

danie10, to technology
@danie10@mastodon.social avatar

How to Change Docker’s Default Data Directory

I’m getting ready to do this on my home server as it’s main boot drive is a 128 GB SSD, and it is always around 80% full.

This article will guide you through the steps to relocate Docker’s storage path for images, volumes, containers, etc., ensur ...continues

See https://gadgeteer.co.za/how-to-change-dockers-default-data-directory/

strypey, to random
@strypey@mastodon.nzoss.nz avatar

"The Invidious docker image is only available on Quay because, unlike Docker Hub, Quay is Free and Open Source Software."

https://docs.invidious.io/installation/

jibsaramnim, to selfhosted
@jibsaramnim@mastodon.social avatar

Just switched my instance from using to now that it has a stable release out as a too, and.. that went too easily 😅. I know this makes sense as it is 100% compatible, but it still feels quite amazing to have it just work.
In case it helps; I just switched to using the valkey/valkey:7-alpine image, and because I also renamed things in my docker-compose I added PEERTUBE_REDIS_HOSTNAME=valkey to the PeerTube .env file too. That's it!

leanpub, to devops
@leanpub@mastodon.social avatar

Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python by Arnaud Weil is free with a Leanpub Reader membership! Or you can buy it for $11.99! http://leanpub.com/k8s

linuxiac, to random
@linuxiac@mastodon.social avatar

No more room for your deployments? Here's a quick guide to relocating Docker's storage path for images, volumes, containers, etc.
https://linuxiac.com/how-to-change-docker-data-directory/

jhx, to FreeBSD
@jhx@fosstodon.org avatar

I can for sure live with that power usage. 😎

Currently running:

#homelab

jhx,
@jhx@fosstodon.org avatar

@justdude
What I use:

  • A generic i5 PC (i5-8400) with 32GB of RAM and 2 x 4TB SSD ( mirror), vanilla 14.0 with Samba and NFS

  • A small i5 (i5-6500T) with 16GB of RAM for running containers and little bits and pieces here and there, vanilla 12

Both are used - got them for cheap from eBay 😎

leanpub, to python
@leanpub@mastodon.social avatar
adminmagazine, to aitools
@adminmagazine@hachyderm.io avatar

In this free focus guide, we take you inside the toolset and show you how to quickly and consistently build secure containers https://mailchi.mp/admin-magazine.com/docker-focus-guide

poppastring, (edited ) to random
@poppastring@dotnet.social avatar

#Docker desktop is now available on Arm64 Windows

#BUILD session recording is available now!

https://build.microsoft.com/en-US/sessions/9d806202-be61-4b5d-ba0d-59ecfcaf0482?source=sessions

kfdm, to random
@kfdm@social.tsun.co avatar

While it's nice to have a CI built in, I can't help but think GitHub actions is some kind of extension of Cthulhu.

#docker of course has its own problems, but I feel like @WoodpeckerCI with my @forgejo instance is easier to grok.

wloczykij, to random Polish

Są tu spece od Dockera? Próbuję uruchomić kontener Dockera używają Podmana (https://github.com/TechnitiumSoftware/DnsServer/blob/master/CHANGELOG.md), ale utknąłem. Po wielu próbach, kombinowaniu, aktualizacji setek programów, utknąłem na niemożności uruchomienia kontenera, bo twierdzi, że port 53/tcp jest w użyciu. Zrobiłęm już chyba wszystko, co mi wpadło do głowy, czyli wyłączenie systemd, wyłączenie nasłuchiwania przez systemd na porcie 53 i nic to nie daje. Co ciekawe, netstat nie pokazuje portu 53 jakoby był w użyciu, więc nie wiem nawet, jaki program może tego używać. Co ciekawe, jak wziąłem nmapa z innego hosta, to pokazuje, ze port 53 jest zamkniety, wiec cos tam nasluchuje, ale nie wiem co.
Podobno podman używa jakiegoś własnego serwera DNS do zarządzania siecią między kontenerami, ale nie ogarniam tego, a i nie wiem, czy tu może być problem. Poza tym serwerem podmana, nie przychodzi mi juz nic do glowy.

Macie jakiś pomysł, jak to rozwiązać?










wloczykij,

@centopus
Znalazłem tą stronę
https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md
Sekcja: User Configuration Files

Wg tego, jedyne co zostało, to katalog /run/user/XXX, choć pewnie po usunięciu usera i restarcie, nic nie pozostanie.

Chyba nie zdążyłem zbyt wiele namieszać.

Natomiast, jeśli chodzi o czyszczenie kontenerów, obrazów itp, to znalazłem taką komendę

podman system prune --all --force && podman rmi --all

Deleted Containers
52cb766ac84abcc2e0e72b9c2a378622b3d627b4dd7c28464821c0a2448da7b7
Deleted Images
d7ec3f033a91384a3daa53b05a8325cd09ead6cf5b4bf84e66017bf16029c77f
Deleted Networks
technitium_dns_server_default
Total reclaimed space: 274.5MB

#docker
#podman
#byeByePodman

wloczykij,

@centopus
Jakiś czas temu zaczałem używać komendy
make localmodconfig
która wycina zbędne moduły. Niestety, ale czasami wycina za dużo i trzeba się bawić potem, więc kernel ma sporo do tego.
Normalnie kernel z kernel.org ma wrzucone mnostwo zbednych modulow i po zbudowaniu, w katalogu /lib/modules/ jest sporo katalogów które zajmują po kilka gigabajtów. Po użyciu tej komendy, katalog z modułami jądra zmniejsza się do kilkudziesięciu megabajtów (czasami kilkaset), więc jest to spora różnica.

Co do kernela i dockera, to znalazłem skrypt
https://raw.githubusercontent.com/moby/moby/master/contrib/check-config.sh
który sprawdza moduły, które są potrzebne do działania dockera. W moim przypadku, marudził, że nie może utworzyć łańcucha DOCKER. Po zaznaczeniu wszystkich opcji, które wskazał ten skrypt, docker ruszył. Niestety, ale po majstrowaniu z kernelem, przestało mi działać jedno urządzeniu i teraz z tym się bawię. Dodatkowo, nad ranem kernel zaliczył zwiechę. Nie jest to ciekawe.

Co do portu, to najwyraźniej przy instalacji dockera, zainstalował się dnsmasq i to on blokował port53.

Na obecną chwilę, wydaje się, że docker działa, ale szczerze mówiąc, nie testowałem go za dużo, bo mam teraz na głowie próby uruchomienia tego urządzenia. Mam nadzieję, że nic innego nie skopało się.

Dam znać, jeśli się okaże, że docker znowu marudzi.
Co do tego urządzenia, to jeśli nic nie poradzę, to pewnie zacznę kolejny wątek i może ktoś pomoże.


@linux_pl


ramikrispin, to python
@ramikrispin@mstdn.social avatar

Opened my Monday on debugging/fighting Python dependencies on Docker image, how is your Monday so far? 😅

Gif credit: Giphy

#python #docker

  • All
  • Subscribed
  • Moderated
  • Favorites
  • anitta
  • InstantRegret
  • mdbf
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • osvaldo12
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • JUstTest
  • tacticalgear
  • ethstaker
  • provamag3
  • cisconetworking
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • modclub
  • megavids
  • normalnudes
  • Leos
  • lostlight
  • All magazines