Website • Docs • API Reference • User Guide • Demo • Contribute
Directus provides several container images that will help we get started. All our container images can be found in docker hub.
Our full list of environment variables can be found on our documentation page. Please make sure to take a look over our overview page as there are some required variables to get run the images.
We publish major, minor and patch versions to docker hub, as well as hotfixes and security updates. This means that you can choose between:
- Patches
v8.2.0
Updates to this tag will receive hotfixes and security updates
- Minor
v8.2
Updates to this tag will receive all patches, hotfixes and security updates
- Major
v8
Updates to this tag will receive all minor updates, patches, hotfixes and security updates
In most cases you'll not need to build anything in this repository because we already distribute built images through docker hub. But if you want to, you'll be able to easily build them with our build script.
- Docker
- bash
We can build images using the command build
located in bin folder.
Note: If you're getting "-A: invalid option" issues, try updating your bash console. OSX for example ships with older bash versions. These scripts will only work on bash 4 or newer.
# Clone the repository
git clone https://github.com/directus/docker.git
# Open the repository directory
cd docker
# Invoke build script
./bin/build --help