Aptly is a swiss army knife for Debian repository management
10K+
eilandert/aptly is a security-hardened Docker image of aptly, the tool that
builds, snapshots and publishes Debian/Ubuntu APT repositories. It is the same
tooling that publishes deb.myguard.nl itself, packaged
so you can host your own signed .deb repository — mirror upstreams, stage
snapshots, and publish reproducible package sets over HTTP.
The image bundles an SSH endpoint (for aptly api / remote publish workflows)
and an HTTP server to serve the published pool.
docker-compose.ymlservices:
aptly:
image: eilandert/aptly:latest
restart: unless-stopped
read_only: true
cap_drop: [ALL]
security_opt:
- no-new-privileges:true
tmpfs:
- /run
volumes:
- aptly-data:/var/lib/aptly
- ./ssh:/etc/ssh # persist host keys for the publish endpoint
- ./gpg:/root/.gnupg # signing key (keep this secret + backed up)
ports:
- "127.0.0.1:8080:80" # serve the published repo (front with a TLS proxy)
- "127.0.0.1:2222:22" # publish/admin over SSH
volumes:
aptly-data:
Protect the GPG signing key and the SSH endpoint — anyone who can publish to the repo can ship packages to every machine that trusts it.
Content type
Image
Digest
sha256:cfe703048…
Size
155.4 MB
Last updated
about 12 hours ago
docker pull eilandert/aptly