Skip to content

Commit abc320e

Browse files
committed
Update README.md
1 parent 10aa17d commit abc320e

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

117117
```
118-
docker-compose up -d
118+
docker compose up -d
119119
```
120120

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

133133
```
134134
docker volume create portainer_data
135-
docker-compose -f portainer-docker-compose.yml -p portainer up -d
135+
docker compose -f portainer-docker-compose.yml -p portainer up -d
136136
```
137137
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.
138138

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

157157
```
158-
docker-compose start
158+
docker compose start
159159
```
160160

161161
### Stopping containers
162162

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

167167
### Removing containers
168168

169169
To stop and remove all the containers use the `down` command:
170170

171171
```
172-
docker-compose down
172+
docker compose down
173173
```
174174

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

182182
```
183-
docker-compose down -v
183+
docker compose down -v
184184
```
185185

186186
to remove external certbot-etc and portainer and the other volumes
@@ -196,7 +196,7 @@ Copy all files into a new directory:
196196
You can now use the `up` command:
197197

198198
```
199-
docker-compose up -d
199+
docker compose up -d
200200
```
201201

202202
### Docker run reference

0 commit comments

Comments
 (0)