Skip to content

Commit 1f26317

Browse files
committed
Update README.md
1 parent d4f0cd4 commit 1f26317

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 proxy 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

141141
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.
@@ -159,21 +159,21 @@ docker ps -a
159159
You can start the containers with the `up` command in daemon mode (by adding `-d` as an argument) or by using the `start` command:
160160

161161
```
162-
docker-compose start
162+
docker compose start
163163
```
164164

165165
### Stopping containers
166166

167167
```
168-
docker-compose stop
168+
docker compose stop
169169
```
170170

171171
### Removing containers
172172

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

175175
```
176-
docker-compose down
176+
docker compose down
177177
```
178178

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

186186
```
187-
docker-compose down -v
187+
docker compose down -v
188188
```
189189

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

202202
```
203-
docker-compose up -d
203+
docker compose up -d
204204
```
205205

206206
### Docker run reference

0 commit comments

Comments
 (0)