From 8ce142d1978b7314f996792ec827bf8679c8e326 Mon Sep 17 00:00:00 2001 From: Slava Pavlov Date: Mon, 2 Apr 2018 14:49:42 +0300 Subject: [PATCH] Fixed problem with permission on edit /etc/hosts --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d4d4db14..f0a08a72 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Docker-symfony gives you everything you need for developing Symfony application. ```bash # UNIX only: get containers IP address and update host (replace IP according to your configuration) (on Windows, edit C:\Windows\System32\drivers\etc\hosts) - $ sudo echo $(docker network inspect bridge | grep Gateway | grep -o -E '[0-9\.]+') "symfony.local" >> /etc/hosts + $ echo $(docker network inspect bridge | grep Gateway | grep -o -E '[0-9\.]+') 'symfony.local' | sudo tee --append /etc/hosts ``` **Note:** For **OS X**, please take a look [here](https://docs.docker.com/docker-for-mac/networking/) and for **Windows** read [this](https://docs.docker.com/docker-for-windows/#/step-4-explore-the-application-and-run-examples) (4th step).