https://github.com/thenets/docker-thenets-tools
https://github.com/thenets/docker-thenets-tools
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thenets/docker-thenets-tools
- Owner: thenets
- Created: 2021-02-26T04:17:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-07T23:53:53.000Z (about 5 years ago)
- Last Synced: 2025-02-14T21:46:55.687Z (over 1 year ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-thenets-tools
Common packages used for troubleshooting.
## Usage examples
```bash
# Shell with many tools
docker run -it --rm thenets/tools
# Create htpasswd
# (you must run 'htpasswd' INSIDE the container, or
# your password will be stored in bash history file!)
docker run -it --rm thenets/tools
htpasswd -nbB myName myPassword # bcrypt
htpasswd -nbm myName myPassword # MD5
htpasswd -nbs myName myPassword # SHA1
htpasswd -nbd myName myPassword # CRYPT
# Port forward
# from localhost:8080 to thenets.org:80
docker run --rm \
-p 8080:8080 \
thenets/tools \
socat -s TCP4-LISTEN:8080,fork,reuseaddr TCP4:thenets.org:80
```