Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker setup

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.
Comment

docker based setup

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
Comment

PREVIOUS NEXT
Code Example
Shell :: ./utserver: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory 
Shell :: how to install mongodb database in ubuntu version 
Shell :: cisco encryption command 
Shell :: Guthub Funding.yml 
Shell :: format of functions in bash shell script 
Shell :: rmmod: ERROR: Module nvidia_drm is in use 
Shell :: android connect your phone via usb on linux - adb devices 
Shell :: bash list package dependencies 
Shell :: add ssh key to windows openssh client 
Shell :: enable vault autocomplete 
Shell :: check login info on mac os 
Shell :: dpkg: command not found 
Shell :: container registry permissions gcp 
Shell :: vscode keyring 
Shell :: nano add line numbers 
Shell :: how to exit vi in linux 
Shell :: gnome terminator 
Shell :: list all users ubuntu 20.04 
Shell :: snapcraft 
Shell :: git diff of a file 
Shell :: command to upgrade broken/not upgraded packages on Ubuntu 
Shell :: cordova-plugin-facebook4 update 
Shell :: how to install npm packages 
Shell :: mongodb version check 
Shell :: ubuntu wifi drivers 
Shell :: rpi install kodi 
Shell :: gcloud add role to service account 
Shell :: git restore 
Shell :: Unable to connect to server: connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused Is the server running on that host and accepting TCP/IP connections? 
Shell :: docker container logs host path 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =