Removing Docker volume when container is in use

You started looking the volumes:

user@ubuntu:~$ docker volume ls
DRIVER VOLUME NAME
local docker-lab_postgres_data
local b1aa150eb6ddb45084ff2b4554394c100c59a41c...
local client_postgress_db
local client_container_data

Then you try to remove:

user@ubuntu:~$ docker volume rm client_postgress_db
Error response from daemon: remove client_postgress_db: volume is in use - [553052b480de56abf196c34182780f1a86d35cdab989c15475e470ba7a67edee]

The solution is listing all containers, filtering by volume:

user@ubuntu:~$ docker ps -a --filter volume=client_postgress_db
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
553052b480de telix:1.0 "start-system.sh" 7 hours ago Exited (137) 6 hours ago client-app-1

Then remove the container:

user@ubuntu:~$ docker rm 553052b480de
553052b480de

And finally remove the volume:

user@ubuntu:~$ docker volume rm client_postgress_db
client_postgress_db
user@ubuntu:~$


Testing an OpenGL 3D Cube on Linux

I found this nice video tutorial at Youtube video:

https://www.youtube.com/watch?v=WjSRCX4OrZU

Then I downloaded the example from: https://bitbucket.org/c-code/snakegame/src/master/opengl_cube.c

but when I tried to compile I got this error:

$ gcc opengl_cube.c -o cube -lgl -lglu
/usr/bin/ld: cannot find -lgl: No such file or directory
/usr/bin/ld: cannot find -lglu: No such file or directory
collect2: error: ld returned 1 exit status

So, the solution was installing these packages:

$ sudo apt install build-essential libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev

Then I noticed my other mistake, it should be -lGL and -lGLU, also -lglu was needed:

$ gcc opengl_cube.c -o cube -lGL -lGLU -lglut

Getting started to WiFi HaLow

I bought some seeed studio wifi modules and I will get it running:

https://wiki.seeedstudio.com/getting_started_with_wifi_halow_module_for_xiao/


Then I found a user that was able to use it with the official MorseMicro image:

https://community.morsemicro.com/t/after-changing-bcf-from-basic-to-quectels-for-xiao-esp32s3-sense-xiao-wifi-halow-quetel-fgh100m-h/1121

Also the pre-build binaries are here:

https://github.com/MorseMicro/morse-firmware/tree/main/bcf/quectel


Connecting the Seeed Studio Module to Raspberry Pi Zero 2W discussed here:

https://community.morsemicro.com/t/raspberry-pi-zero-2w-with-fgh100m/938/6