1
0
Fork 0
myserver-configuration/docker/start

3 lines
254 B
Text
Raw Normal View History

#!/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