Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Yes, free threaded aka nogil python 3.13.0 release docker image.

NotificationsYou must be signed in to change notification settings

abebus/free-threaded-python-docker-image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

This is a minimal clone of the official Python Docker image withfree-threading enabled (--disable-gil).

Better Options

Use standalone builds like the ones from Astral:
https://github.com/astral-sh/python-build-standalone/

Example usage:
https://github.com/DNALinux/OmicsContainers/blob/main/Python/3.13.1-no_GIL/Dockerfile

Note: I am lazy and don’t keep up with updates

What’s Different?

Literally just one thing:
In the CPython build step, I've added this flag:

–disable-gil

Everything else is the same as the official image.

Why?

Free-threading (aka “no-GIL”) is experimental in Python 3.13+. If you want to try running Python with GIL disabled in a container, this image gives you a head start.

How to Build Your Own

If you don’t trust random images from the internet (you shouldn’t), you can build it yourself:

  1. Start from the official Python Dockerfile (e.g.,https://github.com/docker-library/python)
  2. Add--disable-gil to the./configure step during CPython build
  3. Done.

Quick Start

docker pull ghcr.io/abebus/free-threaded-python-docker-image:main

Warning

This is experimental. Things may break. Performance may vary. Use at your own risk.


Built on top of:https://github.com/docker-library/python

About

Yes, free threaded aka nogil python 3.13.0 release docker image.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

[8]ページ先頭

©2009-2025 Movatter.jp