From e0f7248d405ee6424dce08ddb35026cd0bf0adda Mon Sep 17 00:00:00 2001 From: Misty Stanley-Jones Date: Tue, 11 Apr 2017 09:52:07 -0700 Subject: [PATCH] Update systemd.md (#2729) restart docker before showing the Environment variable. https://github.com/docker/docker/issues/22568#issuecomment-281092636 --- engine/admin/systemd.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/engine/admin/systemd.md b/engine/admin/systemd.md index 7697d910a8..7b8b535048 100644 --- a/engine/admin/systemd.md +++ b/engine/admin/systemd.md @@ -97,17 +97,18 @@ you will need to add this configuration in the Docker systemd service file. $ sudo systemctl daemon-reload ``` -5. Verify that the configuration has been loaded: +5. Restart Docker: + + ```bash + $ sudo systemctl restart docker + ``` + +6. Verify that the configuration has been loaded: ```bash $ systemctl show --property=Environment docker Environment=HTTP_PROXY=http://proxy.example.com:80/ ``` -6. Restart Docker: - - ```bash - $ sudo systemctl restart docker - ``` ## Manually creating the systemd unit files