Notes on how to get systemd running to install chromium
This commit is contained in:
@@ -36,3 +36,16 @@
|
||||
pip:
|
||||
name: selenium
|
||||
state: present
|
||||
|
||||
# Start the container in privileged mode with:
|
||||
# docker run --privileged --cgroupns=host -d -v /sys/fs/cgroup:/sys/fs/cgroup:rw dev /lib/systemd/systemd
|
||||
# systemctl start snapd
|
||||
# systemctl start udev
|
||||
# snap install chromium
|
||||
# You can use ansible.community.docker to run the container, then do all the above stuff
|
||||
# docker_container_exec might be useful
|
||||
#
|
||||
# Translate the docker run command into the docker_container ansible module with these args:
|
||||
# -v | volumes:
|
||||
# --cgroupns | cgroupns_mode:
|
||||
# -d | detach: true
|
||||
Reference in New Issue
Block a user