Skip to content

Commit e502fb4

Browse files
authored
docs: Update README.md
1 parent bc39148 commit e502fb4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

docker/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,19 @@ On Windows:
157157
docker compose down -v --rmi all
158158
docker image prune
159159
```
160+
160161
### Updating an older environment
161162

162163
If you already have a clone, such as from a previous codesprint, and are updating that clone, before starting the datatracker from the updated image:
163-
* rm ietf/settings_local.py # The startup script will put a new one, appropriate to the current release, in place
164+
* `rm ietf/settings_local.py` # The startup script will put a new one, appropriate to the current release, in place
164165
* Execute the `Clean all` sequence above.
165166

167+
If the dev environment fails to start, even after running the `Clean all` sequence above, you can fully purge all docker cache, containers, images and volumes by running:
168+
```sh
169+
docker system prune -a --volumes
170+
```
171+
Note that this will delete everything docker-related, including non-datatracker docker resources you might have.
172+
166173
### Accessing PostgreSQL Port
167174

168175
The port is exposed but not automatically mapped to `5432` to avoid potential conflicts with the host. To get the mapped port, run the command *(from the project `/docker` directory)*:

0 commit comments

Comments
 (0)