“Configuração do Docker” Respostas de código

Configuração do Docker

Step 1: Setup. ...
Step 2: Create a Dockerfile. ...
Step 3: Define services in a Compose file. ...
Step 4: Build and run your app with Compose. ...
Step 5: Edit the Compose file to add a bind mount. ...
Step 6: Re-build and run the app with Compose. ...
Step 7: Update the application.
Old-fashioned Ocelot

Instale o Docker Linux

 sudo apt-get install -y xserver-xorg-lts-trusty libgl1-mesa-glx-lts-trusty
Sleepy Spider

Docker sendo iniciado

#make sure docker is installed 
docker run -dp 80:80 docker/getting-started
lieven121

Configuração baseada no docker

sudo docker-compose up --build
sudo docker ps
sudo docker exec -it 3a3a28011213 bash enter sql bash
cd var/mysql/backups   enter to backup
next copy database file and then place in backups folder in two places (config) .
mysql -u username -p database_name < file.sql
         root              pac
enter password: myroot in composer file
export and import configuration
first enter to web container
sudo docker exec -it d2e12c545cee bash
  then change directory to  cd var/www  and run command for vendor/bin/drush cr
Glorious Gharial

Respostas semelhantes a “Configuração do Docker”

Perguntas semelhantes a “Configuração do Docker”

Mais respostas relacionadas para “Configuração do Docker” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código