docker

15 posts tagged “docker”.

  1. 2025
  2. Castle vs. Moat

    This is the classic "Castle vs. Moat" debate in security architecture. While Docker provides a Moat (isolation from the host machine), the Sandbox provides the Code of Conduct (rules for what happens…

    1 min read
  3. Testing things in Fedora using Docker

    I attempted to replicate the bug in a Fedora container using Docker, by running this command: This downloaded the official image and dropped me into a Bash shell.

    1 min read
  4. 2024
  5. Attaching a bash shell to a running Docker container

    Use to find the container ID: $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 81b2ad3194cb alexdebrie/livegrep-base:1 "/livegrep-github-re…" 2 minutes ago Up 2 minutes compassionate…

    1 min read
  6. Running gdb against a Python process in a running Docker container

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

    1 min read
  7. How to deploy a folder with a Dockerfile to Cloud Run

    I deployed https://metmusem.datasettes.com/ by creating a folder on my computer containing a Dockerfile and then shipping that folder up to Google Cloud Run.

    1 min read
  8. Getting Python MD5 to work with FIPS systems

    This issue by Parand Darugar pointed out that Datasette doesn't currently run on Linux systems with FIPS enabled, due to the way it uses MD5 hashes. I hadn't heard of FIPS before.

    2 min read
  9. Installing packages from Debian unstable in a Docker image based on stable

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

    1 min read
  10. Emulating a big-endian s390x with QEMU

    I got a bug report concerning my sqlite-fts4 project running on PPC64 and s390x architectures. The s390x is an IBM mainframe architecture, which I found glamorous!

    1 min read
  11. Deploying a redbean app to Fly

    redbean is a fascinating project - it provides a web server in a self-contained executable which you can add assets (or dynamic Lua code) to just by zipping them into the same binary package.

    1 min read
  12. Run pytest against a specific Python version using Docker

    For datasette issue 1802 I needed to run my test suite using a specific version of Python 3.7. I decided to do this using Docker, using the official python:3.7-buster image.

    1 min read
  13. Deploying Python web apps as AWS Lambda functions

    I've been wanting to figure out how to do this for years. Today I finally put all of the pieces together for it. AWS Lambda can host functions written in Python.

    6 min read
  14. 2023
  15. Using pipenv and Docker

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

    1 min read
  16. Expanding ChatGPT Code Interpreter with Python packages, Deno and Lua

    Update: Code Interpreter often claims that it can't run binaries uploaded like this, but it looks like it still works if you are are persistent enough with it.

    4 min read
  17. Deploying the CLIP embedding model on Fly

    I ended up deploying a Datasette instance to Fly.io using my llm-clip and datasette-llm-embed plugins.

    2 min read
  18. Allowing a container in Docker Desktop for Mac to talk to a PostgreSQL server on the host machine

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

    1 min read