Docker no Ubuntu. Falha ao construir o serviço nginx: ADD falhou: stat /var/lib/docker/tmp/docker-builder(…;)/startup.sh: arquivo ou diretório inexistente


Às vezes, ao usar o Laradock, this error occurs after trying a container rebuild with no such file or directory message on docker-compose up -d –build nginx command.
Não está claro para mim qual é o problema real, mas executando o comando com sudo, podemos executá-lo com sucesso.
Seems that the regular user need access rights to directory /var/lib/docker/tmp/ but do not have. So, running with sudo the trouble is bypassed and the build can finished normally.
After build containers with sudo, is possible to unload it and reload without sudo.
