[GeoNode-users] First problems with docker compose demono runing as a sudo

Paolo Pasquali paolo.pasquali at gmail.com
Thu Jun 20 05:03:37 PDT 2019


Ciao Amedeo,

Maybe your user has no permission to access docker. Is your user in the
docker group?
To add your user you can:

*sudo usermod -a -G docker $USER*


P.



On Thu, Jun 20, 2019 at 1:26 PM Amedeo Fadini <amefad at gmail.com> wrote:

> Hi Everybody, in my project I've already setup a customizede
> geonode-project
>
> Now I'm trying to use docker compose as stated in the github
> geonode-project readme
>
> It seems that as the docker daemon is running as a service when I launche
>
> docker-compose build --no-cache
>
> It throws the errorr "Couldn't connect to Docker daemon"
>
> If instead i Use
>
> sudo docker-compose build --no-cache
>
> It fails on compilation because the virtualenv is not setted up for sudp
>
> What the correct way to launch docker-compose build for a geonode project?
> I think it could work if I launch it by su after activatign Virtualenv for
> su but i seems me a very bad Idea.
>
> Thanks
>
> Amefad
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190620/3e64cc60/attachment.html>


More information about the geonode-users mailing list