Skip to content

Instantly share code, notes, and snippets.

@andyfaff
Last active February 22, 2023 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andyfaff/cfda1baadb90c55461206b609df83a7a to your computer and use it in GitHub Desktop.
Save andyfaff/cfda1baadb90c55461206b609df83a7a to your computer and use it in GitHub Desktop.
Docker commands
# 32 bit ubuntu on a 64 bit Intel host
docker run --rm -it -v $PWD:/io --platform=linux/i386 i686/ubuntu
docker run --rm -it -v $PWD:/io --platform=linux/i386 i386/ubuntu:focal
# if you're having troubles with SSH certificates on the 32 bit host
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
# ubuntu on a 64 bit Intel/AMD host
docker run --rm -it -v $PWD:/io --platform=linux/amd64 ubuntu
# exotic pythons
apt install software-properties-common
add-apt-repository ppa:deadsnakes/ppa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment