Skip to content

Commit 1abf7dc

Browse files
committed
Update README.md
1 parent b5e90da commit 1abf7dc

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

118118
```
119-
docker-compose up -d
119+
docker compose up -d
120120
```
121121

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

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

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

158158
```
159-
docker-compose start
159+
docker compose start
160160
```
161161

162162
### Stopping containers
163163

164164
```
165-
docker-compose stop
165+
docker compose stop
166166
```
167167

168168
### Removing containers
169169

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

172172
```
173-
docker-compose down
173+
docker compose down
174174
```
175175

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

183183
```
184-
docker-compose down -v
184+
docker compose down -v
185185
```
186186

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

199199
```
200-
docker-compose up -d
200+
docker compose up -d
201201
```
202202

203203
### Docker run reference

0 commit comments

Comments
 (0)