scottkeckwarren, to random
@scottkeckwarren@phpc.social avatar

checkout my recent interview with @tjlytle about some tips for and his talk about .

https://youtu.be/lmXVJL15n0Q

sfunk1x, to random

Had a serious database failure earlier due to cascading bad decisions. I started deleting a bunch of old data, rather than using . This led to a bunch of errors in the container.

I moved the database into bare metal using a with 32GB of RAM and 4 cores. I'm going to use this for other services too, and it was on my roadmap of transition. will be moving to that as well.

I'm still sorting out the fallout from this.

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

shyim, to php
@shyim@phpc.social avatar

I found finally a better way to build
Docker images, no compiling required, smaller image than alpine, but still glibc so no incompatibilities or performance problems with PHP. How? It's possible with Wolfi-OS by @chainguard_dev

https://shyim.me/blog/wolfi-os-for-php/

sergio_101, to mastodon
@sergio_101@mastodon.social avatar

I am finding that the documentation for installing via is REALLY scattered, and hard to follow. I am having to piece together one solution from lots of different solutions. I feel like there should be one document that users can rely on.

I find myself backtracking and starting over several times, and i use docker every single day.

ramikrispin, to python
@ramikrispin@mstdn.social avatar

How is your Saturday so far? I was able to reduce the size of my Python image by 75% with a multi-stage build 🤩

lacey, to random
@lacey@hachyderm.io avatar

New TIL: Securing the Meilisearch search itself https://github.com/williln/til/blob/main/meilisearch/securing_meilisearch_search.md

I've absorbed so much new information about Meilisearch this week, and I still feel like there is so much I don't quite understand. So today's TIL is filled with things I wasn't sure about... but I did learn things.

sergio_101, to mastodon
@sergio_101@mastodon.social avatar

Started putting together my instance last night. Running in . Running into a weird problem (.env.production isn't writing) but shouldn't be too much longer.

I am haven't installed a firewall, as it's a raspberry pi on a local machine that I am going to point the router to, so it feels okay.

The real reason is that when i turn on the firewall, fediverse.local stops responding, and i have to use the IP Address.

I should probably just figure that out.

andy_blum, to programming
@andy_blum@drupal.community avatar

Ever worked on projects locally and wished for a more standardized, production-like experience for your team? Try @ddev! I walk you through setting your local up with in my latest article on @lullabot

https://www.lullabot.com/articles/nodejs-development-ddev

lacey, to django
@lacey@hachyderm.io avatar

New TIL, follow-up to the last TIL: Securing Meilisearch with Docker for local Django development https://github.com/williln/til/blob/main/meilisearch/securing_meilisearch_in_docker.md

lacey, to random
@lacey@hachyderm.io avatar

New TIL: Setting up Meilisearch with Python, Docker, and Compose for local development https://github.com/williln/til/blob/main/meilisearch/setting_up_meilisearch_python_docker.md

Dealing with that environment variable is next but I decided I wanted that to be its own TIL.

ramikrispin, to python
@ramikrispin@mstdn.social avatar

(1/2) Setting A Dockerized 🐳 Python 🐍 Environment — The Elegant Way

A few weeks ago, I created a short tutorial about setting up a dockerized 🐳 Python 🐍 environment via the CLI, or the hard way. The second tutorial on this topic provides a more elegant and robust approach for setting up a Python dockerized development environment with VScode and the Dev Containers extension 🚀.

video/mp4

madcap, to infosec Portuguese
@madcap@ciberlandia.pt avatar

Check if your containers are affected by the XZ backdoor:

https://github.com/teyhouse/CVE-2024-3094

rebeccasaurus, to random

General Docker question (I think), if I update a .config/default.yml and restart the containers, is that going to catch that or do I have to do some magic for that?

EDIT: outside the container, I think it was used to.. build it? Start it? I dunno, never touched Docker before today..

jimfuller, to random
@jimfuller@mastodon.social avatar

Docker-Sponsored Open Source (hub) insists that one cannot have a path to commercialisation - https://www.docker.com/community/open-source/application/#:~:text=Qualification%20Criteria ... seems parochial at best ... at worst why is docker hub getting involved ? Removing rate limiting as a benefit for us also seems to ignore that the benefit is almost entirely theirs. not sure hub is for

irfan, to Redis

As if the whole fiasco wasn't a big mess already, just learned that has ditched and is now only Source Available, a.k.a. you can view the code, but not distribute or do anything with it.

It's already been forked though as . I would assume you could still use Redis for free, no problem, though I'm not too sure you could ship it in your (paid) projects anymore. Regardless, if you use Redis in your projects like I do in my containers, it's probably a good idea to swap them with Valkey instead (although... they don't seem to have an official container just yet).

🔗 https://redis.com/blog/redis-adopts-dual-source-available-licensing

🔗 https://github.com/valkey-io/valkey

krisajenkins, to neovim
@krisajenkins@mastodon.social avatar

I've been having so much fun writing little extensions for that I thought I'd record a walkthrough. 👨‍💻🥳

Here's a guide to making it talk to , or any command-line tool that speaks JSON:

https://youtu.be/HXABdG3xJW4

irfan, to linux

There's a huge backdoor ( -2024-3094) allowing remote SSH access (as far as I can tell at this moment) caused by a util called affecting a ton of systems ( and , well not really) and it's causing quite a huge panic. I honestly don't know much about it just yet, but just sharing some pieces to read about the huge vulnerability.

The person who had maliciously planted this vulnerability into xz-utils, Jia Tan, has made at least 750 contributions to the project over the past 2 years. They even have direct push access to the code repo, allowing them to have pushed commits with forged authors. Being "free" from this vulnerability is not as simple as reverting to a previous version due to just how much and how long they've contributed to the project, and people are rightfully suspicious that this person might have hidden other backdoors in xz.

Unlike most other vulnerabilities, it's a lot harder to pinpoint versions affected by this but the most likely case is most systems out there have xz installed on their system that are impacted - which at this moment, the info being thrown around is any version past 5.3.1, 5.4.6, or 5.6.0 (latest is 5.6.1).

🔗 https://access.redhat.com/security/cve/CVE-2024-3094

🔗 https://www.cisa.gov/news-events/alerts/2024/03/29/reported-supply-chain-compromise-affecting-xz-utils-data-compression-library-cve-2024-3094

🔗 https://www.redhat.com/en/blog/urgent-security-alert-fedora-41-and-rawhide-users

🔗 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068024

irfan,

As far as I can tell, you're only impacted by this vulnerability only if:

  • Your distro sources/packages xz from their release tarballs rather than through the Git source directly.

  • The payload was only included for the or packaging, so unless your distro uses these - you're probably safe.

  • As far as I can tell, it also only affects x86 systems so based systems should be fine.

  • As far as I can tell, your system needs to be running to be impacted by this, so / should mostly if not entirely be fine....? maybe.


In other news, people are currently investigating and evaluating other projects also actively contributed by the compromised developer, Jia Tan, including .

People are also analysing the dev's commit history to deduce their background from their activity lol. They've been found to push commits during office hours Mon-Fri, every other Saturdays, presumably Public Holidays that seem to align with China's PH, and seems to be on GMT +8 locale.

🔗 https://github.com/libarchive/libarchive

🔗 https://twitter.com/hackerfantastic/status/1773864354439417983

sjkilleen, to dotnet
@sjkilleen@mastodon.social avatar

Anyone gotten to build a container without fast mode and still be able to access user secrets?

Our container doesn't currently work well with fast mode. I've told VS to build it in regular mode and that works fine. But in Rider, when disabling fast mode, all user secrets are null. I've tried mounting volumes directly etc. to no avail. Hoping someone else has slayed this one already 🤞

cam, to php
@cam@hachyderm.io avatar

moving from docker-compose to just “compose” is, presumably, just to confuse hard working programmers 😩

annika, to random
@annika@xoxo.zone avatar

The dev environment for my Pelican blog uses Docker, via Colima when I'm on my Mac.

The default Colima config uses qemu and sshfs. If I switch to --vm-type vz --mount-type virtiofs, rebuild time when I change a file drops from >25s to around 9s. Not bad!

Colima 0.6.8, macOS 14.2.1, 2.3 GHz quad-core Core i7.

stefano, to IT
@stefano@bsd.cafe avatar

Interesting reading: Kubernetes and back - Why I don't run distributed systems

https://www.davd.io/posts/2024-03-20-kubernetes-and-back-why-i-dont-run-distributed-systems/

simplyblock, to Kubernetes
@simplyblock@mastodon.social avatar

In the latest episode of our 20 minutes Cloud Commute podcast, @boredabdel talks about serverless platforms and the complications with GPU workloads; as well as anything , , , and more 🔥

Available at your favorite podcast provider and Youtube: https://youtu.be/4QU0IgbskLA

video/mp4

carloshr, (edited ) to TrueNAS
@carloshr@lile.cl avatar

Les presento mi próximo proyecto ñoño: Armar mi propio NAS

Voy a remplazar un Qnap de 2 discos por un sistema armado con 4 discos. Ya tengo el gabinete, fuente de poder, procesador, RAM, SSD (Reciclada de la que cambié en el laptop) y los discos duros los reutilizo del Qnap. Solo falta que me llegue la placa madre.
Voy a utilizar TrueNAS SCALE como sistema operativo.

@tecnologia

carloshr,
@carloshr@lile.cl avatar

Finalmente instalé , tomando la idea de @Dnmrules ( https://paquita.masto.host/@Dnmrules/112129104478051321 ). Levanté un contenedor LxC como NAS y otro para instalar aplicaciones con . Tengo corriendo , , (torrent) y .
Este método me pareción mucho más simple, rápido y flexible que usar . Tengo mucho más control sobre lo que instalo y hasta funciona más rapido. (Al parecer TrueNAS consume demasiados recursos para funcionar)

@tecnologia

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