Skip to content

Permission denied when trying to update the /etc/hosts #116

@wcomnisky

Description

@wcomnisky

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions