Last active
August 29, 2015 14:09
-
-
Save lemenkov/1aecc2d832da49198fe3 to your computer and use it in GitHub Desktop.
Install CouchDB in systemd' container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf -y --releasever=21 --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora --enablerepo=updates --enablerepo updates-testing install systemd couchdb | |
sudo systemd-nspawn -D /srv/mycontainer -b | |
sudo systemctl -M mycontainer mask systemd-logind.service | |
sudo systemctl -M mycontainer mask console-getty.service | |
sudo systemctl -M mycontainer enable couchdb.service | |
sudo systemctl -M mycontainer enable systemd-networkd.service | |
sudo machinectl reboot mycontainer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment