Docker
Docker is the company driving the container movement and the only container platform provider to address every application across the hybrid cloud. Today’s businesses are under pressure to digitally transform but are constrained by existing applications and infrastructure while rationalizing an increasingly diverse portfolio of clouds, datacenters and application architectures. Docker enables true independence between applications and infrastructure and developers and IT ops to unlock their potential and creates a model for better collaboration and innovation.
https://www.docker.com/what
Installation
Docker
Benötigte "Grundinstallation"
sudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
Zertifikat holen
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Repository hinzufügen
sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable"
Aktualisieren und Docker Community Edition installieren
sudo apt-get update sudo apt-get install docker-ce
Anleitung hier verfügbar: https://docs.docker.com/install/linux/docker-ce/ubuntu/
Docker Compose
Compose is a tool for defining and running multi-container Docker applications. With Compose, you use a YAML file to configure your application’s services. Then, with a single command, you create and start all the services from your configuration.
https://docs.docker.com/compose/overview/
sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
Docker4Drupal
Docker4Drupal is an open-source project (GitHub page) that provides pre-configured docker-compose.yml
file from to spin up local environment on Linux, Mac OS X and Windows. https://wodby.com/stacks/drupal/docs/local/
Installation
Download:
sudo git clone https://github.com/wodby/docker4drupal
Checkout stabile Version (aktuell 5.1.0):
cd docker4drupal/ sudo git checkout tags/5.1.0
Aufstarten:
sudo docker-compose up -d
Installation Drupal
Aufrufen von http://drupal.docker.localhost:8000/ und mit Standardinstallation fortfahren (Benutzername und Passwörter sind alle "drupal").
Links
- Status: http://portainer.drupal.docker.localhost:8000/#/dashboard
- Drupal: http://drupal.docker.localhost:8000/
- Anleitung generell: https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
- Anmelden oder Registrieren, um Kommentare verfassen zu können