Skip to content

Commit 3927203

Browse files
committed
Update README.md
1 parent ac43105 commit 3927203

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ docker volume create --driver local --opt type=none --opt device=${DIRECTORY_PAT
120120
```
121121

122122
```
123-
docker-compose up -d
123+
docker compose up -d
124124
```
125125

126126
then reloading for proxy ssl configuration
@@ -137,7 +137,7 @@ For convenience you may add a new entry into your hosts file.
137137

138138
```
139139
docker volume create portainer_data
140-
docker-compose -f portainer-docker-compose.yml -p portainer up -d
140+
docker compose -f portainer-docker-compose.yml -p portainer up -d
141141
```
142142

143143
manage docker with [Portainer](https://www.portainer.io/solutions/docker) is the definitive container management tool for Docker, Docker Swarm with it's highly intuitive GUI and API.
@@ -161,21 +161,21 @@ docker ps -a
161161
You can start the containers with the `up` command in daemon mode (by adding `-d` as an argument) or by using the `start` command:
162162

163163
```
164-
docker-compose start
164+
docker compose start
165165
```
166166

167167
### Stopping containers
168168

169169
```
170-
docker-compose stop
170+
docker compose stop
171171
```
172172

173173
### Removing containers
174174

175175
To stop and remove all the containers use the `down` command:
176176

177177
```
178-
docker-compose down
178+
docker compose down
179179
```
180180

181181
to remove portainer and the other containers
@@ -186,7 +186,7 @@ docker rm -f $(docker ps -a -q)
186186
Use `-v` if you need to remove the database volume which is used to persist the database:
187187

188188
```
189-
docker-compose down -v
189+
docker compose down -v
190190
```
191191

192192
to remove external certbot-etc and portainer and the other volumes
@@ -202,7 +202,7 @@ Copy all files into a new directory:
202202
You can now use the `up` command:
203203

204204
```
205-
docker-compose up -d
205+
docker compose up -d
206206
```
207207

208208
### Docker run reference

0 commit comments

Comments
 (0)