Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dockerng.running:
- - image: xxxx/xxxxxxxxxx-environment-ssh:latest
- - port_bindings:
- - "{{ docker_config['container_IP'] }}:22:22"
- - name: {{ docker_config['container_name'] }}
- - binds:
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
- - environment:
- container: docker
- - cap_add:
- - SYS_ADMIN
- - detach: True
- - hostname: "xxx.xxx.xxx.xxx.xxx"
- - network_mode: bridge
- - command: "/usr/lib/systemd/systemd --system"
- - tty: True
- - kwargs:
- tmpfs: /run/systemd/system
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement