Signed-off-by: Oriol Francès <oriolfa@gmail.com>
| ... | ... |
@@ -66,27 +66,7 @@ If you need to add an HTTP Proxy, set a different directory or partition for the |
| 66 | 66 |
Docker runtime files, or make other customizations, read our systemd article to |
| 67 | 67 |
learn how to [customize your systemd Docker daemon options](/articles/systemd/). |
| 68 | 68 |
|
| 69 |
-## Uninstallation |
|
| 70 |
- |
|
| 71 |
-To uninstall the Docker package: |
|
| 72 |
- |
|
| 73 |
- $ sudo pacman -R docker |
|
| 74 |
- |
|
| 75 |
-To uninstall the Docker package and dependencies that are no longer needed: |
|
| 76 |
- |
|
| 77 |
- $ sudo pacman -Rns docker |
|
| 78 |
- |
|
| 79 |
-The above commands will not remove images, containers, volumes, or user created |
|
| 80 |
-configuration files on your host. If you wish to delete all images, containers, |
|
| 81 |
-and volumes run the following command: |
|
| 82 |
- |
|
| 83 |
- $ rm -rf /var/lib/docker |
|
| 84 |
- |
|
| 85 |
-You must delete the user created configuration files manually. |
|
| 86 |
- |
|
| 87 |
-## Issues |
|
| 88 |
- |
|
| 89 |
-### systemd-network |
|
| 69 |
+## Running docker with a manually defined network |
|
| 90 | 70 |
|
| 91 | 71 |
Users of systemd-network >= v220 who have configured their network manually by |
| 92 | 72 |
creating an `<interface>.network` file in `/etc/systemd/network/` may have to add |
| ... | ... |
@@ -106,3 +86,21 @@ overriden by `net.ipv4.conf.<interface>.forwarding` being disabled) |
| 106 | 106 |
|
| 107 | 107 |
Adding `IPForward=kernel` to the `<interface>.network` file prevents this |
| 108 | 108 |
behavior, allowing IP Forwarding to function as expected. |
| 109 |
+ |
|
| 110 |
+## Uninstallation |
|
| 111 |
+ |
|
| 112 |
+To uninstall the Docker package: |
|
| 113 |
+ |
|
| 114 |
+ $ sudo pacman -R docker |
|
| 115 |
+ |
|
| 116 |
+To uninstall the Docker package and dependencies that are no longer needed: |
|
| 117 |
+ |
|
| 118 |
+ $ sudo pacman -Rns docker |
|
| 119 |
+ |
|
| 120 |
+The above commands will not remove images, containers, volumes, or user created |
|
| 121 |
+configuration files on your host. If you wish to delete all images, containers, |
|
| 122 |
+and volumes run the following command: |
|
| 123 |
+ |
|
| 124 |
+ $ rm -rf /var/lib/docker |
|
| 125 |
+ |
|
| 126 |
+You must delete the user created configuration files manually. |