fix english

This commit is contained in:
yuli
2024-04-28 09:45:31 +03:00
parent c66bc511c0
commit d33b6c6fb1

View File

@@ -1,39 +1,39 @@
# Building Databunker
Use the folllowing command
Use the following command:
```
./build.sh
```
It will generate **databunker** executable. HTML files are built inside executable.
This command will generate the ```databunker``` executable, bundled with the web UI interface.
## Build container
## Building Databunker Container
It will generate "securitybunker/databunker" container and save it locally.
To generate the ```securitybunker/databunker``` container, use the following command:
```
VERSION=$(cat ./version.txt)
docker build -t securitybunker/databunker:$VERSION --build-arg VERSION=$VERSION .
```
## Push container
## Pushing Container
**Only for project admin:**
For project admins only:
```
docker login
VERSION=$(cat ./version.txt)
docker push securitybunker/databunker:$VERSION
# Optionally, push container with the latest tag
docker tag securitybunker/databunker:$VERSION securitybunker/databunker:latest
docker push securitybunker/databunker:latest
```
## Other useful commands for working with containers:
## Other Useful Commands for Working with Containers:
```
docker rm dbunker
docker kill dbunker
docker container stats dbunker
docker container stats databunker
docker run --rm -ti alpine
/bin/busybox wget localhost:3000
```