leanpub, to python
@leanpub@mastodon.social avatar
poppastring, to random
@poppastring@dotnet.social avatar

desktop is now available on Arm64 Windows

session should be available in the next 36 hours:

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.

mforester,
@mforester@rollenspiel.social avatar

@kfdm hard agree.
The "plugin" economy on GitHub is insane. I find it very tedious and complicated to figure out how to plug together my pipeline. And ultimately it's still running containers, so there's no need to make everything so convoluted.
Meanwhile, if you've ever worked with a Dockerfile, you can plug together a Woodpecker pipeline in no time. 🙂

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

mobileatom, to Symfony
@mobileatom@flipboard.com avatar

How to start a Symfony 7 application with Docker without having PHP locally installed on your machine.

https://dev.to/gmurambadoro/how-to-start-a-symfony-7-application-with-docker-without-having-php-locally-installed-on-your-machine-28h2?utm_source=flipboard&utm_medium=activitypub

Posted into SYMFONY FOR THE DEVIL @symfony

SebastianM6L, to jenkins
@SebastianM6L@mastodon.social avatar

Anyone had an issue with from django.test import Client causing a high memory usage in a docker container?

I run the tests in a pipeline using a #jenkins agent in #docker.

When this test runs:

def test_login_user(self):  
 c = Client()  
 response = c.post('/user/login/', {'email': 'test1@test.de', 'password': 'test123'})  
self.assertEqual(response.status_code, 302)  

The memory usage goes thru the roof. Literally using up all memory until it crashes.

#django #pytest

SebastianM6L,
@SebastianM6L@mastodon.social avatar

@ghickman The settings are the same.

The Jenkins agent runs Python 3.12 and this happens with pytest 3.1.1 as well as 3.2.0.

On my MacBook I run Python 3.9 and there is no issue with pytest 3.1.1.

Could it be somehow an issue with python 3.12?

ghickman,
@ghickman@mastodon.social avatar

@SebastianM6L could be 🤔 I’d certainly want to copy the CI env as closely as possible! Can you check env vars in CI vs your local setup too?

wloczykij, to linux Polish

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"










74,
@74@101010.pl avatar

@wloczykij a zawołam grupę @linux_pl

wloczykij,

@74 @linux_pl
Dzięki. Już nie trzeba. Problem rozwiązany.
Wyjąłem całą elektronikę na jakiej można było sprawdzić i coś mi nie pasowało, jak się okazało, że z 4 urządzeń tylko na jednym działa, a na pozostałych nie.
Stwierdziłem, że sprawdzę, co po sieci hula i okazało się, że zapytanie DNS dochodziło do sewera, a serwer zwracał pakiet ICMP z informacją, że port nieosiągalny. Jeszcze raz zerknąłem na komendę uruchamiającą kontener i okazało się, że zamiast protokołu udp, dałem tcp i tu był problem.
"podman run -dt -p 53:53/udp" - to jest poprawny fragment. Wcześniej było "53:53/tcp".

Zastanawia mnie tylko, czemu na laptopie działało. Obstawiam, że systemd mial w cache tą domenę i to systemd z laptopa zwracał ip, a nie serwer DNS, ale z drugiej strony, widziałem w logach serwera DNS zapytania i to mnie zastanawia. Jak macie pomysł, czemu tak się działo, to chętnie się dowiem. A może to systemd z laptopa wysyałał zapytania do serwera po tcp, jak nie miał u siebie tej domeny. To jest zagadka.

Przy okazji odkryłem świetny program, o którym wspomnę w następnym wątku. Adminom na pewno się przyda.

leanpub, to devops
@leanpub@mastodon.social avatar

Docker Deep Dive: Zero to Docker in a single book! https://leanpub.com/dockerdeepdive by Nigel Poulton is the featured book on the Leanpub homepage! https://leanpub.com

sanjaymenon, (edited ) to homelab
@sanjaymenon@mastodon.social avatar
vordenken,
@vordenken@fosstodon.org avatar

@sanjaymenon The title confused me then… I thought it’s about how you monitor things in your homelab with a setup guide and examples.
Don’t want to sound rude but I don’t understand what’s the point of this post then. How to install portainer/uptime kuma is covered by their official publishers.

sanjaymenon,
@sanjaymenon@mastodon.social avatar

@vordenken

Apologies for any confusion caused by the title.

I will add some guide with examples in near-future. (All my posts are more like WIP always)

Your feedback is valuable, and I'll certainly take it into consideration for future posts to ensure clarity and relevance.

atareao, to mastodon Spanish
@atareao@mastodon.social avatar

Federación con GoToSocial en Docker n
Como levantar de forma sencilla tu propio servicio de ligero y federar con utilizando y en

Escucha: https://atareao.es/podcast/federacion-con-gotosocial-en-docker/
Feed: https://atareao.es/mp3-feed/

symfonystation, to php
@symfonystation@newsletter.mobileatom.net avatar
apps, to fediverse
@apps@toot.fedilab.app avatar

has been updated to 1.2.0

  • Detects instance limits
  • Timezone is stored in session
  • Fix issues
  • Fix polls not removed when hidden
  • Three new languages (pl, uk and ru)
  • Works with PHP 8.2+ (with Symfony 7+)
  • Installation possible with

https://plan.fedilab.app/

social, to Switzerland
@social@social.diva.exchange avatar

🎉 Latest release available: v2.52.0 https://github.com/diva-exchange/i2p

Available as here: https://hub.docker.com/r/divax/i2p

🙏 😀 to devs all over the world .

🚨 Reminder: discover new validation algos at University of Applied Science, https://social.diva.exchange/@social/112435041794373888

XeroLinux, to foss
@XeroLinux@fosstodon.org avatar

My new container home page. It's called "Flame" it's so damn simple it's lovely.. Thanks to @thelinuxcast for telling about this one ;)

bradwilson, to windows
@bradwilson@mastodon.social avatar

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 WSL 2, /mnt/c/Dev gets an I/O error because "cannot read symbolic link".
Trying to mount C:\Dev on Docker in Windows (running in WSL 2 mode) claims it can't create /run/desktop/mnt/host/c/Dev because the file exists (but in reality, the error is that it can't read that folder from WSL).

bradwilson,
@bradwilson@mastodon.social avatar

@heaths The build times with Dev Drives is definitely faster, but not so much faster that it actually matters. The easiest path seems to be to just dump Dev Drive.

bradwilson,
@bradwilson@mastodon.social avatar

Okay, final piece of the puzzle.

If I use a Dev Drive mounted as a drive letter, then use MKLINK /J to make a junction point from my desired local location to the Dev Drive, that's something WSL 2 does understand, and transparently translates that to a symbolic link in Linux terms. So it's really just using Disk Manager to mount it directly into the file system that's the problem.

So I can keep my Dev Drive and get Docker to volume mount things for me again! 🎉

Screen shot showing C:\Dev is now a junction rather than a raw filesystem mount, and Docker in WSL 2 mode does not have any problem mounting it now.

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