Skip to content

Commit 0bd083c

Browse files
committed
Update README.md
1 parent 689b469 commit 0bd083c

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
@@ -118,7 +118,7 @@ docker volume create --driver local --opt type=none --opt device=${DIRECTORY_PAT
118118
```
119119

120120
```
121-
docker-compose up -d
121+
docker compose up -d
122122
```
123123

124124
then reloading for webserver ssl configuration
@@ -135,7 +135,7 @@ For convenience you may add a new entry into your hosts file.
135135

136136
```
137137
docker volume create portainer_data
138-
docker-compose -f portainer-docker-compose.yml -p portainer up -d
138+
docker compose -f portainer-docker-compose.yml -p portainer up -d
139139
```
140140
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.
141141

@@ -158,21 +158,21 @@ docker ps -a
158158
You can start the containers with the `up` command in daemon mode (by adding `-d` as an argument) or by using the `start` command:
159159

160160
```
161-
docker-compose start
161+
docker compose start
162162
```
163163

164164
### Stopping containers
165165

166166
```
167-
docker-compose stop
167+
docker compose stop
168168
```
169169

170170
### Removing containers
171171

172172
To stop and remove all the containers use the `down` command:
173173

174174
```
175-
docker-compose down
175+
docker compose down
176176
```
177177

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

185185
```
186-
docker-compose down -v
186+
docker compose down -v
187187
```
188188

189189
to remove external certbot-etc and portainer and the other volumes
@@ -199,7 +199,7 @@ Copy all files into a new directory:
199199
You can now use the `up` command:
200200

201201
```
202-
docker-compose up -d
202+
docker compose up -d
203203
```
204204

205205
### Docker run reference

0 commit comments

Comments
 (0)