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:
docker container prune
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:
172.18.0.0/24
default-address-pools
option is only spared a single CLI description...