Simon Willison: TILs on docker

Atom feed for docker

docker Using pipenv and Docker - 2022-11-28

I had a Django project that used pipenv (in particular a Pipfile.lock) to manage dependencies and I wanted to build a Docker container for it. …

docker Run pytest against a specific Python version using Docker - 2022-09-05

For datasette issue #1802 I needed to run my pytest test suite using a specific version of Python 3.7. …

docker Emulating a big-endian s390x with QEMU - 2022-07-29

I got a bug report concerning my sqlite-fts4 project running on PPC64 and s390x architectures. …

docker Testing things in Fedora using Docker - 2022-07-27

I got a report of a bug with my s3-ocr tool running on Fedora. …

docker Allowing a container in Docker Desktop for Mac to talk to a PostgreSQL server on the host machine - 2022-03-31

I like using Postgres.app to run PostgreSQL on my macOS laptop. I use it for a bunch of different projects. …

docker Docker Compose for Django development - 2021-05-24

I had to get Docker Compose working for a Django project, primarily to make it easier for other developers to get a working development environment. …

docker Installing packages from Debian unstable in a Docker image based on stable - 2021-03-22

For Datasette #1249 I wanted to build a Docker image from the python:3.9.2-slim-buster base image ("buster" is the current stable release of Debian) but include a single package from "sid", the unstable Debian distribution. …

docker Running gdb against a Python process in a running Docker container - 2021-03-21

While investigating Datasette issue #1268 I found myself with a Python process that was hanging, and I decided to try running gdb against it based on tips in Debugging of CPython processes with gdb

docker Attaching a bash shell to a running Docker container - 2020-08-10

Use docker ps to find the container ID: …