Skip to content

Commit 96cfad3

Browse files
committed
Update README.md
1 parent 533c1cd commit 96cfad3

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

119119
```
120-
docker-compose up -d
120+
docker compose up -d
121121
```
122122

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

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

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

159159
```
160-
docker-compose start
160+
docker compose start
161161
```
162162

163163
### Stopping containers
164164

165165
```
166-
docker-compose stop
166+
docker compose stop
167167
```
168168

169169
### Removing containers
170170

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

173173
```
174-
docker-compose down
174+
docker compose down
175175
```
176176

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

184184
```
185-
docker-compose down -v
185+
docker compose down -v
186186
```
187187

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

200200
```
201-
docker-compose up -d
201+
docker compose up -d
202202
```
203203

204204
### Docker run reference

0 commit comments

Comments
 (0)