Update README.md
This commit is contained in:
parent
7f79087e93
commit
de608e5b65
1 changed files with 3 additions and 3 deletions
|
|
@ -11,7 +11,7 @@ Demo-docker est une mini application web très légère pour tester docker avec
|
||||||
> - Un sytème à jour
|
> - Un sytème à jour
|
||||||
> - Docker installé (inclus extension `docker compose`)
|
> - Docker installé (inclus extension `docker compose`)
|
||||||
|
|
||||||
### Méthode 1 (garder le shell ouvert)
|
### 🔹 Méthode 1 (garder le shell ouvert)
|
||||||
Executer les commandes suivantes :
|
Executer les commandes suivantes :
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.selfitdeploy.com/Willy/demo-docker.git ; \
|
git clone https://git.selfitdeploy.com/Willy/demo-docker.git ; \
|
||||||
|
|
@ -23,7 +23,7 @@ Tester le site sur `http://ip.de.votre.machine:5000`
|
||||||
Arrêter le conteneur avec `ctrl + c`
|
Arrêter le conteneur avec `ctrl + c`
|
||||||
|
|
||||||
|
|
||||||
### Méthode 2 (exécution en arrière plan)
|
### 🔹 Méthode 2 (exécution en arrière plan)
|
||||||
Executer les commandes suivantes :
|
Executer les commandes suivantes :
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.selfitdeploy.com/Willy/demo-docker.git ; \
|
git clone https://git.selfitdeploy.com/Willy/demo-docker.git ; \
|
||||||
|
|
@ -34,5 +34,5 @@ Tester le site sur `http://ip.de.votre.machine:5000`
|
||||||
|
|
||||||
Arrêter le conteneur:
|
Arrêter le conteneur:
|
||||||
```bash
|
```bash
|
||||||
sudo docker stop demo-docker:1.0.0
|
sudo docker stop demo-docker-01
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue