added readme instructions to run docker without sudo && added V_USER rule in makefile to get name of the user from shell
This commit is contained in:
11
README.md
11
README.md
@@ -18,9 +18,8 @@
|
||||
|
||||
---
|
||||
## git next commit
|
||||
- nginx cleaned and works with alpine (45s instead of 180s, 4 times faster)
|
||||
- in Makefile resolved super-clean rule
|
||||
- wordpress and mariadb pbm connections
|
||||
- added readme instruction to run docker without sudo
|
||||
- added V_USER rule in makefile to get the name of the user from shell
|
||||
|
||||
---
|
||||
## questions
|
||||
@@ -110,6 +109,11 @@
|
||||
- `sudo curl -L "https://github.com/docker/compose/releases/download/v2.10.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose`
|
||||
- `sudo chmod +x /usr/local/bin/docker-compose`
|
||||
|
||||
###### run docker without sudo on linux (https://docs.docker.com/engine/install/linux-postinstall/)
|
||||
- `sudo groupadd docker`
|
||||
- `sudo usermod -aG docker $USER`
|
||||
- `newgrp docker`
|
||||
|
||||
###### volumes vs bind mounts :
|
||||
- [docker doc: use volumes](https://docs.docker.com/storage/volumes/)
|
||||
- [docker doc: use bind mounts](https://docs.docker.com/storage/bind-mounts/)
|
||||
@@ -225,4 +229,5 @@ sudo / find -type s
|
||||
- [exemple install with composer](https://github.com/aestetype/alpine-wp-cli/blob/master/Dockerfile)
|
||||
- [cli commands](https://developer.wordpress.org/cli/commands/)
|
||||
- [cli install wordpress](https://make.wordpress.org/cli/handbook/how-to-install/)
|
||||
- `/wp-admin`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user