3 lines
254 B
Text
3 lines
254 B
Text
|
#!/bin/sh
|
||
|
docker build -t ansible_test:latest docker/
|
||
|
docker run --rm -d --name ansible_test --privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:rw --volume="$HOME/.ssh/id_rsa.pub:/root/.ssh/authorized_keys" -p 1022:22 --cgroupns=host ansible_test:latest
|