add readme
This commit is contained in:
parent
723b9f185f
commit
939513d578
1 changed files with 24 additions and 0 deletions
24
README.md
Normal file
24
README.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Jenkins SSH Agent with Podman
|
||||||
|
|
||||||
|
Based on [jenkins/ssh-agent](https://hub.docker.com/r/jenkins/ssh-agent) with
|
||||||
|
the addition of rootless podman.
|
||||||
|
|
||||||
|
In order for running this container within podman, the following options should
|
||||||
|
be set:
|
||||||
|
|
||||||
|
- --security-opt=label=disable
|
||||||
|
- --security-opt=unmask=ALL
|
||||||
|
- --security-opt=seccomp=unconfined
|
||||||
|
- --device=/dev/net/tun
|
||||||
|
|
||||||
|
## Environment Variables
|
||||||
|
|
||||||
|
- `JENKINS_AGENT_SSH_PUBKEY`: SSH public key accepted by the agent.
|
||||||
|
|
||||||
|
## Volumes
|
||||||
|
|
||||||
|
- `/home/jenkins`: state
|
||||||
|
|
||||||
|
## Ports
|
||||||
|
|
||||||
|
- `22`: ssh server
|
Loading…
Add table
Add a link
Reference in a new issue