Skip to content

Commit 86547c6

Browse files
sknebelthinkl33t
authored andcommitted
Update README.md docker instructions
Add `--rm` to the docker commandline to not leave old unused containers around. All the state is in the mapped folders, so they only waste disk space (and caused some weird btrfs issues on my system)
1 parent 33549ff commit 86547c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ Before you build the first time, apply any patches to vendored content:
2626

2727
Then to build the images run:
2828

29-
docker run -it --env "TARGET=esp32s3" -v "$(pwd)"/:/firmware matthewwilkes/esp_idf:5.2.1
29+
docker run -it --rm --env "TARGET=esp32s3" -v "$(pwd)"/:/firmware matthewwilkes/esp_idf:5.2.1
3030

3131
Alternatively, to flash a badge:
3232
put the badge into bootloader by disconnecting the usb in, press and hold bat and boop buttons for 20 seconds then reconnect the usb in and run:
3333

34-
docker run -it --device /dev/ttyACM0:/dev/ttyUSB0 --env "TARGET=esp32s3" -v "$(pwd)"/:/firmware matthewwilkes/esp_idf:5.2.1 deploy
34+
docker run -it --rm --device /dev/ttyACM0:/dev/ttyUSB0 --env "TARGET=esp32s3" -v "$(pwd)"/:/firmware matthewwilkes/esp_idf:5.2.1 deploy
3535

3636
where /dev/ttyACM0 is the device's endpoint. This value is correct on Linux.
3737

0 commit comments

Comments
 (0)