docker-mailserver/docs/content/config/setup.sh.md
Georg Lauterbach 1e20e7c332
Image registry and setup update (#3233)
Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com>
2023-04-10 11:37:25 +02:00

1.2 KiB

title hide
About setup.sh
toc

!!! note

`setup.sh` is not required. We encourage you to use `docker exec -ti <CONTAINER NAME> setup` instead.

!!! warning

This script assumes Docker or Podman is used. You will not be able to use `setup.sh` with other container orchestration tools.

setup.sh is a script that is complimentary to the internal setup command in docker-mailserver.

It mostly provides the convenience of aliasing docker exec -ti <CONTAINER NAME> setup, inferring the container name of a running docker-mailserver instance or running a new instance and bind mounting necessary volumes implicitly.

It is intended to be run from the host machine, not from inside your running container. The latest version of the script is included in the docker-mailserver repository. You may retrieve it at any time by running this command in your console:

wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/setup.sh
chmod a+x ./setup.sh

For more information on using the script run: ./setup.sh help.