Skip to content

Commit

Permalink
Add dk.sh description to the Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal authored and umputun committed Dec 6, 2024
1 parent 439ddae commit cd64205
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,13 @@ COPY --from=build /build/app /srv/app

CMD ["/srv/app", "param1", "param2"]
```

## `dk.sh` Script

The `dk.sh` script is a simple script to get a shell inside containers that don't have one (like scratch-based containers). It works by temporarily copying BusyBox into the container and cleaning it up after you're done.

```
./dk.sh <container_name>
```

This lets you inspect and debug the container's environment easily, without leaving any leftovers.

0 comments on commit cd64205

Please sign in to comment.