docker-symfony
docker-symfony copied to clipboard
Permission denied when trying to update the /etc/hosts
According to the current README.md the following command should append the new host to the /etc/hosts file although the following error happens:
$ sudo echo $(docker network inspect bridge | grep Gateway | grep -o -E '([0-9]{1,3}\.){3}[0-9]{1,3}') "symfony.local" >> /etc/hosts
bash: /etc/hosts: Permission denied