Install the lxc and the debootstrap packages:
# pacman -Sy lxc debootstrap
I will install Ubuntu 16. Therfore, I will use the xenial release.
ckermit uses the default /var/lock
folder which is "rwxr-xr-x 5 root root".
ckermit is patched to handle the environment variable LOCK_DIR to specifiy another lock directory.
Archlinux no longer provides the lock directory /var/lock/lockdev
to allow users in the lock group to read/write into it.
Archlinux should put back the folder /var/lock/lockdev
which would be: "drwxrwxr-x 2 root lock": it is unclear why they have removed it.
version: '2' | |
services: | |
mediawiki: | |
image: wikimedia/mediawiki | |
links: | |
- mysql | |
environment: | |
- MEDIAWIKI_DB_TYPE=mysql | |
- MEDIAWIKI_DB_USER=root | |
- MEDIAWIKI_DB_PASSWORD=mysecretpassword |
#!/bin/sh | |
mw_var() | |
{ | |
local mw_local_settings=$1 | |
local mw_var=$2 | |
sed -n "s/^\$$mw_var = \"\(.*\)\";/\1/p" $mw_local_settings | |
} |