clean in readme

This commit is contained in:
Hugo LAMY
2022-09-25 22:24:13 +02:00
parent 19d24ab958
commit f95736905f

View File

@@ -1,33 +1,14 @@
# inception
- will healthcheck continue after success, every 1 secondes ?
- change host file in virtual machine to connect to hulamy.42.fr instead of localhost
- machine virtual : xubuntu sur virtualbox (warning put enough place, like 30Go)
- maybe you need to put the virtual machine on sgoinfre in 42
---
## WIP
- network with compose : https://docs.docker.com/compose/networking/
- communication between two containers : https://www.tutorialworks.com/container-networking/
- connecting two containers : https://stackoverflow.com/questions/45481943/connecting-two-docker-containers
- connect mysql docker to another : https://stackoverflow.com/questions/54901581/connect-to-a-mysql-server-running-in-a-docker-container-from-another-container
- fail with 'cant connect' : https://stackoverflow.com/questions/23234379/installing-mysql-in-docker-fails-with-error-message-cant-connect-to-local-mysq
- maybe do something like starting mysql in wpdocker with hostname of mysql-docker ? mysql -h hostname ?
- or with port:port-protocol ? with tcp ?
---
## git next commit
- added readme instruction to run docker without sudo
- added V_USER rule in makefile to get the name of the user from shell
- need to put the virtual machine on sgoinfre/goinfre/user/hulamy
---
## questions
- ? will healthcheck continue after success, every 1 secondes ?
- ? why http to https redirection doesn't works ?
- ? what means "a file or directory on the host machine is mounted into a container" ?
- ? why the volumes cannot be modify outside docker ?
- ? `rm -rf /var/lib/apt/lists/*` ?
---
#### docker :