yourls pulls statistics
Docker Hub · Content management system
YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener.
yourls has 24,128,964 recorded pulls on Docker Hub, an increase of 1.2% over the past 30 days, ranking #94 of 1,291 tracked listings.
About yourls
Quick reference
-
Maintained by:
YOURLS -
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Supported tags and respective Dockerfile links
-
1.10.6-apache,1.10-apache,1-apache,apache,1.10.6,1.10,1,latest -
1.10.6-fpm-alpine,1.10-fpm-alpine,1-fpm-alpine,fpm-alpine
Quick reference (cont.)
-
Where to file issues:
https://github.com/YOURLS/containers/issues -
Supported architectures: (more info)
amd64,arm32v5,arm32v6,arm32v7,arm64v8,i386,ppc64le,riscv64,s390x -
Published image artifact details:
repo-info repo'srepos/yourls/directory (history)
(image metadata, transfer size, etc) -
Image updates:
official-images repo'slibrary/yourlslabel
official-images repo'slibrary/yourlsfile (history) -
Source of this description:
docs repo'syourls/directory (history)
What is YOURLS?
YOURLS is a set of PHP scripts that will allow you to run Your Own URL Shortener. You'll have full control over your data, detailed stats, analytics, plugins, and more. It's free.
How to use this image
Start a yourls server instance
docker run \
--name some-yourls \
--detach \
--network some-network \
--env YOURLS_SITE="https://example.com" \
--env YOURLS_USER="example_username" \
--env YOURLS_PASS="example_password" \
yourls
The YOURLS instance accepts a number of environment variables for configuration, see Environment Variables section below.
If you'd like to use an external database instead of a mysql container, specify the hostname and port with YOURLS_DB_HOST along with the password in YOURLS_DB_PASS and the username in YOURLS_DB_USER (if it is something other than root):
docker run \
--name some-yourls \
--detach \
--env YOURLS_DB_HOST=... \
--env YOURLS_DB_USER=... \
--env YOURLS_DB_PASS=... \
yourls
Connect to the YOURLS administration interface
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
docker run \
--name some-yourls \
--detach \
--network some-network \
--publish 8080:8080 \
yourls
Then, access it via http://localhost:8080/admin/ or http://<host-ip>:8080/admin/ in a browser.
Note: On first instantiation, reaching the root folder will generate an error. Access the YOURLS administration interface via the path /admin/.
Environment Variables
When you start the yourls image, you can adjust the configuration of the YOURLS instance by passing one or more environment variables on the docker run command-line.
The YOURLS instance accepts a number of environment variables for configuration.
A few notable/important examples for using this Docker image include the following.
YOURLS_SITE
Required.
YOURLS instance URL, no trailing slash, lowercase.
Example: YOURLS_SITE="https://example.com"
YOURLS_USER
Required.
YOURLS instance username.
Example: YOURLS_USER="example_username"
YOURLS_PASS
Required.
YOURLS instance password.
Example: YOURLS_PASS="example_password"
YOURLS_DB_HOST, YOURLS_DB_USER, YOURLS_DB_PASS
Optional if linked mysql container.
Host, user (defaults to root) and password for the database.
YOURLS_DB_NAME
Optional.
Database name, defaults to yourls. The database must have been created before installing YOURLS.
YOURLS_DB_PREFIX
Optional.
Database tables prefix, defaults to yourls_. Only set this when you need to override the default table prefix.
Docker Secrets…
Description from the Docker Hub listing.
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Pulls on a linear scale. Placement is projected from pulls, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (50)Similar Docker Hub Content management system plugins
All 20 yourls alternativesData source
Cumulative pull counts and stars come from the public Docker Hub API. Pulls count image downloads (including automated CI pulls), not installs or users.
Listing: https://hub.docker.com/_/yourls. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.