Just Docker stuff

For aliasing docker-compose to docker compose (src):

user:~$ echo 'docker compose --compatibility "$@"' | sudo tee -a /usr/local/bin/docker-compose && sudo chmod +x /usr/local/bin/docker-compose

Cheatsheet:

Configuring default address pool

The Docker daemon pulls a /16 address space for each automatic network setup, starting from 172.17.0.0/12 until it starts eating into the 192.168.0.0/16 address space as well1). This may conflict with any internal subnets associated with your network2).

To mitigate this problem, use an unused address range and also reduce the number of addresses per network, by configuring3) the Docker daemon:

/etc/docker/daemon.json
 


1)
Reddit quote, and a more throughly written up guide
2)
I was bitten by this in the CQT network due to the internal services being hosted on 172.18.0.0/24
3)
reading the documentation reminded me again of how difficult it is for new users to navigate it - and the default-address-pools option is only spared a single CLI description...