Install Apache webserver
Installing Apache webserver using Docker
First install container/docker and systemd-service/dockerd, which provides the systemd service:
|
|
To start dockerd, just:
|
|
or to enable at boot:
|
|
Optionally add your user to the docker group:
$ sudo usermod -aG docker $USER
Now you should be able to use docker as usual, for example:
|
|
you could also use Whalebrew to make aliasing the containers into something more useable.
Docker Compose is a tool for defining and running multi-container Docker applications. It allows you to use a YAML file (conventionally named docker-compose.yml) to configure all of your application’s services.
Docker Compose is available in the community repository as part of the apps/docker-tools package. If you have enabled this repository you can install it by using this command:
|
|
Installing Apache webserver using Docker