Please enable JavaScript.
Coggle requires JavaScript to display documents.
Docker (Learning (Delete (Delete docker image: rmi, Delete docker…
Docker
Learning
-
-
-
-
-
-
-
-
-
-
-
Manage data in docker
Volumes : docker run -d -p 3000:3000 -v $(pwd)/uploads_host:/var/www/php/application/uploads --name my_container image_id
Run php project : docker run -d -p 3001:80 --name cosmetic-ci -v "$(pwd):/var/www/html" php:7.2-apache
-
-
issue
database is uninitialized and password option is not specified You need to specify one of MYSQL_ROOT_PASSWORD, MYSQL_ALLOW_EMPTY_PASSWORD and MYSQL_RANDOM_ROOT_PASSWORD
-
-
-
-
-
Install package bcrypt error dependencies
Alpine : RUN apk --no-cache add --virtual builds-deps build-base python && npm install && apk del builds-deps
-
-
/usr/lib/python2.7/site-packages/compose/cli/main.py : pip uninstall docker-py; pip install -U docker-compose
Container Exit(128) then update package: sudo apt update && sudo apt upgrade -y && sudo shutdown -r now
-
-
-
Portainer
docker run -d -p 8000:9000 --name portainer-seedsoft -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
docker run --name pg-docker --rm -p 5400:5432 -e POSTGRES_PASSWORD =1212312121iots -e POSTGRES_USER=rootdb -v $(pwd)/data:/var/lib/postgresql/data -d postgres