https://github.com/voidful/dockerbash
https://github.com/voidful/dockerbash
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/voidful/dockerbash
- Owner: voidful
- Created: 2019-07-09T09:55:22.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-08-20T13:15:10.000Z (almost 5 years ago)
- Last Synced: 2024-12-31T00:18:14.613Z (over 1 year ago)
- Language: Shell
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DockerBash
Create docker container with openssh server.
# User guide
1. Enter username
`Create UserName : test`
2. Enter password (default is "password")
`Setting Password [ default : password ] : test`
3. Enter the SSH port you want to use
`Setting SSH's Port : 420`
4. Enter the published ports you want to use (whitespace as a split)
`Setting published ports (8080:8080 5000:5000...) : 8080:8080 5000:5000`
5. Enter the image you want to use
`Image : ubuntu:18.04`
6. Enter the package you want to install (whitespace as a split)
`Apt package (nano vim...) : nano micro tmux`
7. Confirm your setting
```You Setting:
User: test
Password: test
SSH Port: 420
Published ports:
25565:123
25555:321
Are you sure ? [Y/n] y
```
8. Enjoy your container
```
test
* Starting OpenBSD Secure Shell server sshd [ OK ]
Container create finish
Login as root, SSH port 420
```