<!--

********************************************************************************

WARNING:

    DO NOT EDIT "hylang/README.md"

    IT IS AUTO-GENERATED

    (from the other files in "hylang/" combined with a set of templates)

********************************************************************************

-->

# Quick reference

-	**Maintained by**:  
	[Paul Tagliamonte, Hy BDFL](https://github.com/hylang/hy)

-	**Where to get help**:  
	[the Docker Community Slack](https://dockr.ly/comm-slack), [Server Fault](https://serverfault.com/help/on-topic), [Unix & Linux](https://unix.stackexchange.com/help/on-topic), or [Stack Overflow](https://stackoverflow.com/help/on-topic)

# Supported tags and respective `Dockerfile` links

(See ["What's the difference between 'Shared' and 'Simple' tags?" in the FAQ](https://github.com/docker-library/faq#whats-the-difference-between-shared-and-simple-tags).)

## Simple Tags

-	[`1.0.0-python3.13-bookworm`, `1.0-python3.13-bookworm`, `1-python3.13-bookworm`, `python3.13-bookworm`, `1.0.0-bookworm`, `1.0-bookworm`, `1-bookworm`, `bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-bookworm)

-	[`1.0.0-python3.13-bullseye`, `1.0-python3.13-bullseye`, `1-python3.13-bullseye`, `python3.13-bullseye`, `1.0.0-bullseye`, `1.0-bullseye`, `1-bullseye`, `bullseye`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-bullseye)

-	[`1.0.0-python3.13-alpine3.20`, `1.0-python3.13-alpine3.20`, `1-python3.13-alpine3.20`, `python3.13-alpine3.20`, `1.0.0-alpine3.20`, `1.0-alpine3.20`, `1-alpine3.20`, `alpine3.20`, `1.0.0-python3.13-alpine`, `1.0-python3.13-alpine`, `1-python3.13-alpine`, `python3.13-alpine`, `1.0.0-alpine`, `1.0-alpine`, `1-alpine`, `alpine`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-alpine3.20)

-	[`1.0.0-python3.13-alpine3.19`, `1.0-python3.13-alpine3.19`, `1-python3.13-alpine3.19`, `python3.13-alpine3.19`, `1.0.0-alpine3.19`, `1.0-alpine3.19`, `1-alpine3.19`, `alpine3.19`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-alpine3.19)

-	[`1.0.0-python3.13-windowsservercore-ltsc2022`, `1.0-python3.13-windowsservercore-ltsc2022`, `1-python3.13-windowsservercore-ltsc2022`, `python3.13-windowsservercore-ltsc2022`, `1.0.0-windowsservercore-ltsc2022`, `1.0-windowsservercore-ltsc2022`, `1-windowsservercore-ltsc2022`, `windowsservercore-ltsc2022`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-windowsservercore-ltsc2022)

-	[`1.0.0-python3.13-windowsservercore-1809`, `1.0-python3.13-windowsservercore-1809`, `1-python3.13-windowsservercore-1809`, `python3.13-windowsservercore-1809`, `1.0.0-windowsservercore-1809`, `1.0-windowsservercore-1809`, `1-windowsservercore-1809`, `windowsservercore-1809`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-windowsservercore-1809)

-	[`1.0.0-python3.12-bookworm`, `1.0-python3.12-bookworm`, `1-python3.12-bookworm`, `python3.12-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-bookworm)

-	[`1.0.0-python3.12-bullseye`, `1.0-python3.12-bullseye`, `1-python3.12-bullseye`, `python3.12-bullseye`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-bullseye)

-	[`1.0.0-python3.12-alpine3.20`, `1.0-python3.12-alpine3.20`, `1-python3.12-alpine3.20`, `python3.12-alpine3.20`, `1.0.0-python3.12-alpine`, `1.0-python3.12-alpine`, `1-python3.12-alpine`, `python3.12-alpine`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-alpine3.20)

-	[`1.0.0-python3.12-alpine3.19`, `1.0-python3.12-alpine3.19`, `1-python3.12-alpine3.19`, `python3.12-alpine3.19`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-alpine3.19)

-	[`1.0.0-python3.12-windowsservercore-ltsc2022`, `1.0-python3.12-windowsservercore-ltsc2022`, `1-python3.12-windowsservercore-ltsc2022`, `python3.12-windowsservercore-ltsc2022`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-windowsservercore-ltsc2022)

-	[`1.0.0-python3.12-windowsservercore-1809`, `1.0-python3.12-windowsservercore-1809`, `1-python3.12-windowsservercore-1809`, `python3.12-windowsservercore-1809`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-windowsservercore-1809)

-	[`1.0.0-python3.11-bookworm`, `1.0-python3.11-bookworm`, `1-python3.11-bookworm`, `python3.11-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.11-bookworm)

-	[`1.0.0-python3.11-bullseye`, `1.0-python3.11-bullseye`, `1-python3.11-bullseye`, `python3.11-bullseye`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.11-bullseye)

-	[`1.0.0-python3.11-alpine3.20`, `1.0-python3.11-alpine3.20`, `1-python3.11-alpine3.20`, `python3.11-alpine3.20`, `1.0.0-python3.11-alpine`, `1.0-python3.11-alpine`, `1-python3.11-alpine`, `python3.11-alpine`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.11-alpine3.20)

-	[`1.0.0-python3.11-alpine3.19`, `1.0-python3.11-alpine3.19`, `1-python3.11-alpine3.19`, `python3.11-alpine3.19`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.11-alpine3.19)

-	[`1.0.0-python3.10-bookworm`, `1.0-python3.10-bookworm`, `1-python3.10-bookworm`, `python3.10-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.10-bookworm)

-	[`1.0.0-python3.10-bullseye`, `1.0-python3.10-bullseye`, `1-python3.10-bullseye`, `python3.10-bullseye`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.10-bullseye)

-	[`1.0.0-python3.10-alpine3.20`, `1.0-python3.10-alpine3.20`, `1-python3.10-alpine3.20`, `python3.10-alpine3.20`, `1.0.0-python3.10-alpine`, `1.0-python3.10-alpine`, `1-python3.10-alpine`, `python3.10-alpine`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.10-alpine3.20)

-	[`1.0.0-python3.10-alpine3.19`, `1.0-python3.10-alpine3.19`, `1-python3.10-alpine3.19`, `python3.10-alpine3.19`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.10-alpine3.19)

-	[`1.0.0-python3.9-bookworm`, `1.0-python3.9-bookworm`, `1-python3.9-bookworm`, `python3.9-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.9-bookworm)

-	[`1.0.0-python3.9-bullseye`, `1.0-python3.9-bullseye`, `1-python3.9-bullseye`, `python3.9-bullseye`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.9-bullseye)

-	[`1.0.0-python3.9-alpine3.20`, `1.0-python3.9-alpine3.20`, `1-python3.9-alpine3.20`, `python3.9-alpine3.20`, `1.0.0-python3.9-alpine`, `1.0-python3.9-alpine`, `1-python3.9-alpine`, `python3.9-alpine`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.9-alpine3.20)

-	[`1.0.0-python3.9-alpine3.19`, `1.0-python3.9-alpine3.19`, `1-python3.9-alpine3.19`, `python3.9-alpine3.19`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.9-alpine3.19)

-	[`1.0.0-pypy3.10-bookworm`, `1.0-pypy3.10-bookworm`, `1-pypy3.10-bookworm`, `pypy3.10-bookworm`, `1.0.0-pypy-bookworm`, `1.0-pypy-bookworm`, `1-pypy-bookworm`, `pypy-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-bookworm)

-	[`1.0.0-pypy3.10-bullseye`, `1.0-pypy3.10-bullseye`, `1-pypy3.10-bullseye`, `pypy3.10-bullseye`, `1.0.0-pypy-bullseye`, `1.0-pypy-bullseye`, `1-pypy-bullseye`, `pypy-bullseye`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-bullseye)

-	[`1.0.0-pypy3.10-windowsservercore-ltsc2022`, `1.0-pypy3.10-windowsservercore-ltsc2022`, `1-pypy3.10-windowsservercore-ltsc2022`, `pypy3.10-windowsservercore-ltsc2022`, `1.0.0-pypy-windowsservercore-ltsc2022`, `1.0-pypy-windowsservercore-ltsc2022`, `1-pypy-windowsservercore-ltsc2022`, `pypy-windowsservercore-ltsc2022`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-windowsservercore-ltsc2022)

-	[`1.0.0-pypy3.10-windowsservercore-1809`, `1.0-pypy3.10-windowsservercore-1809`, `1-pypy3.10-windowsservercore-1809`, `pypy3.10-windowsservercore-1809`, `1.0.0-pypy-windowsservercore-1809`, `1.0-pypy-windowsservercore-1809`, `1-pypy-windowsservercore-1809`, `pypy-windowsservercore-1809`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-windowsservercore-1809)

## Shared Tags

-	`1.0.0-python3.13`, `1.0-python3.13`, `1-python3.13`, `python3.13`, `1.0.0`, `1.0`, `1`, `latest`:

	-	[`1.0.0-python3.13-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-bookworm)
	-	[`1.0.0-python3.13-windowsservercore-ltsc2022`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-windowsservercore-ltsc2022)
	-	[`1.0.0-python3.13-windowsservercore-1809`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.13-windowsservercore-1809)

-	`1.0.0-python3.12`, `1.0-python3.12`, `1-python3.12`, `python3.12`:

	-	[`1.0.0-python3.12-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-bookworm)
	-	[`1.0.0-python3.12-windowsservercore-ltsc2022`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-windowsservercore-ltsc2022)
	-	[`1.0.0-python3.12-windowsservercore-1809`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.12-windowsservercore-1809)

-	`1.0.0-python3.11`, `1.0-python3.11`, `1-python3.11`, `python3.11`:

	-	[`1.0.0-python3.11-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.11-bookworm)

-	`1.0.0-python3.10`, `1.0-python3.10`, `1-python3.10`, `python3.10`:

	-	[`1.0.0-python3.10-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.10-bookworm)

-	`1.0.0-python3.9`, `1.0-python3.9`, `1-python3.9`, `python3.9`:

	-	[`1.0.0-python3.9-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.python3.9-bookworm)

-	`1.0.0-pypy3.10`, `1.0-pypy3.10`, `1-pypy3.10`, `pypy3.10`, `1.0.0-pypy`, `1.0-pypy`, `1-pypy`, `pypy`:

	-	[`1.0.0-pypy3.10-bookworm`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-bookworm)
	-	[`1.0.0-pypy3.10-windowsservercore-ltsc2022`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-windowsservercore-ltsc2022)
	-	[`1.0.0-pypy3.10-windowsservercore-1809`](https://github.com/hylang/docker-hylang/blob/0fd7c6620e53d9dfee4ab1984416c63f520ee25c/dockerfiles-generated/Dockerfile.pypy3.10-windowsservercore-1809)

# Quick reference (cont.)

-	**Where to file issues**:  
	[https://github.com/hylang/hy/issues](https://github.com/hylang/hy/issues?q=)

-	**Supported architectures**: ([more info](https://github.com/docker-library/official-images#architectures-other-than-amd64))  
	[`amd64`](https://hub.docker.com/r/amd64/hylang/), [`arm32v5`](https://hub.docker.com/r/arm32v5/hylang/), [`arm32v6`](https://hub.docker.com/r/arm32v6/hylang/), [`arm32v7`](https://hub.docker.com/r/arm32v7/hylang/), [`arm64v8`](https://hub.docker.com/r/arm64v8/hylang/), [`i386`](https://hub.docker.com/r/i386/hylang/), [`mips64le`](https://hub.docker.com/r/mips64le/hylang/), [`ppc64le`](https://hub.docker.com/r/ppc64le/hylang/), [`riscv64`](https://hub.docker.com/r/riscv64/hylang/), [`s390x`](https://hub.docker.com/r/s390x/hylang/), [`windows-amd64`](https://hub.docker.com/r/winamd64/hylang/)

-	**Published image artifact details**:  
	[repo-info repo's `repos/hylang/` directory](https://github.com/docker-library/repo-info/blob/master/repos/hylang) ([history](https://github.com/docker-library/repo-info/commits/master/repos/hylang))  
	(image metadata, transfer size, etc)

-	**Image updates**:  
	[official-images repo's `library/hylang` label](https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fhylang)  
	[official-images repo's `library/hylang` file](https://github.com/docker-library/official-images/blob/master/library/hylang) ([history](https://github.com/docker-library/official-images/commits/master/library/hylang))

-	**Source of this description**:  
	[docs repo's `hylang/` directory](https://github.com/docker-library/docs/tree/master/hylang) ([history](https://github.com/docker-library/docs/commits/master/hylang))

# What is Hy?

Hy (a.k.a., Hylang) is a dialect of the Lisp programming language designed to interoperate with Python by translating expressions into Python's abstract syntax tree (AST). Similar to Clojure's mapping of s-expressions onto the JVM, Hy is meant to operate as a transparent Lisp front end to Python's abstract syntax. Hy also allows for Python libraries (including the standard library) to be imported and accessed alongside Hy code with a compilation step, converting the data structure of both into Python's AST.

> [wikipedia.org/wiki/Hy](https://en.wikipedia.org/wiki/Hy)

![logo](https://raw.githubusercontent.com/docker-library/docs/c097f38c6ee48cd13456df8cd853a9d806fff429/hylang/logo.png)

# How to use this image

## Create a `Dockerfile` in your Hy project

```dockerfile
FROM hylang:0.10
COPY . /usr/src/myapp
WORKDIR /usr/src/myapp
CMD [ "hy", "./your-daemon-or-script.hy" ]
```

You can then build and run the Docker image:

```console
$ docker build -t my-hylang-app
$ docker run -it --rm --name my-running-app my-hylang-app
```

## Run a single Hy script

For many simple, single file projects, you may find it inconvenient to write a complete `Dockerfile`. In such cases, you can run a Hy script by using the Hy Docker image directly:

```console
$ docker run -it --rm --name my-running-script -v "$PWD":/usr/src/myapp -w /usr/src/myapp hylang:0.10 hy your-daemon-or-script.hy
```

# Image Variants

The `hylang` images come in many flavors, each designed for a specific use case.

## `hylang:<version>`

This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.

Some of these tags may have names like bookworm or bullseye in them. These are the suite code names for releases of [Debian](https://wiki.debian.org/DebianReleases) and indicate which release the image is based on. If your image needs to install any additional packages beyond what comes with the image, you'll likely want to specify one of these explicitly to minimize breakage when there are new releases of Debian.

## `hylang:<version>-alpine`

This image is based on the popular [Alpine Linux project](https://alpinelinux.org), available in [the `alpine` official image](https://hub.docker.com/_/alpine). Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use [musl libc](https://musl.libc.org) instead of [glibc and friends](https://www.etalabs.net/compare_libcs.html), so software will often run into issues depending on the depth of their libc requirements/assumptions. See [this Hacker News comment thread](https://news.ycombinator.com/item?id=10782897) for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

To minimize image size, it's uncommon for additional related tools (such as `git` or `bash`) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the [`alpine` image description](https://hub.docker.com/_/alpine/) for examples of how to install packages if you are unfamiliar).

## `hylang:<version>-windowsservercore`

This image is based on [Windows Server Core (`microsoft/windowsservercore`)](https://hub.docker.com/r/microsoft/windowsservercore/). As such, it only works in places which that image does, such as Windows 10 Professional/Enterprise (Anniversary Edition) or Windows Server 2016.

For information about how to get Docker running on Windows, please see the relevant "Quick Start" guide provided by Microsoft:

-	[Windows Server Quick Start](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_server)
-	[Windows 10 Quick Start](https://msdn.microsoft.com/en-us/virtualization/windowscontainers/quick_start/quick_start_windows_10)

# License

View [license information](https://github.com/hylang/hy/blob/master/LICENSE) for the software contained in this image.

As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).

Some additional license information which was able to be auto-detected might be found in [the `repo-info` repository's `hylang/` directory](https://github.com/docker-library/repo-info/tree/master/repos/hylang).

As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
