aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanagiotis Vasilopoulos <[email protected]>2021-03-20 11:00:43 +0200
committerPanagiotis Vasilopoulos <[email protected]>2021-03-20 11:00:43 +0200
commit43c65b5430aed4ffd287c66480bd123b713eb767 (patch)
tree0112dbdd82a15be96f525cf08c1622de8fd3bc72
parentImproved README (diff)
downloaddocker-osx-43c65b5430aed4ffd287c66480bd123b713eb767.tar.xz
docker-osx-43c65b5430aed4ffd287c66480bd123b713eb767.zip
Improved systemd-related instructions
-rw-r--r--README.md8
1 files changed, 3 insertions, 5 deletions
diff --git a/README.md b/README.md
index e2108aa..ac143ec 100644
--- a/README.md
+++ b/README.md
@@ -360,14 +360,12 @@ sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-util
sudo yum install libvirt qemu-kvm
# then run
-sudo systemctl enable libvirtd.service
-sudo systemctl enable virtlogd.service
+sudo systemctl enable --now libvirtd
+sudo systemctl enable --now virtlogd
echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs
sudo modprobe kvm
-
-# reboot
```
# Start the same container later (persistent disk)
@@ -501,7 +499,7 @@ sudo dockerd
sudo nohup dockerd &
# or enable it in systemd
-sudo systemctl enable docker
+sudo systemctl enable --now docker
```
# How to Forward Additional Ports from the guest.