Skip to content

Instantly share code, notes, and snippets.

@ichux
Last active February 17, 2026 05:19
Show Gist options
  • Select an option

  • Save ichux/17f706dd3fdfe31f34767e81ccb7a243 to your computer and use it in GitHub Desktop.

Select an option

Save ichux/17f706dd3fdfe31f34767e81ccb7a243 to your computer and use it in GitHub Desktop.
docker save \
fanout/pushpin:1.41.0 \
zeromq:latest \
haproxy:3.3.0 \
mariadb:12.1.2-noble \
redis/redis-stack \
-o bittonet.tar
docker load -i ~/bittonet.tar
sudo sh -c 'echo "#!/bin/bash\ndocker compose \"\$@\"" > /usr/local/bin/docker-compose'
sudo chmod +x /usr/local/bin/docker-compose
# on debian
alias pcip="grep 'nameserver' /etc/resolv.conf | awk '{print \$2}' && ip -4 -o addr show | grep -v ' lo ' | awk '{print \$4}'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment