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

Amedeo Fadini amefad at gmail.com
Fri Jun 21 00:25:22 PDT 2019


Thanks Paolo, it worked,
Not immediatlly but after an hour
(as soon as  I remembered that when you change user's permission it needs
logout and login again)
:-D

Amedeo

Il giorno gio 20 giu 2019 alle ore 14:03 Paolo Pasquali <
paolo.pasquali at gmail.com> ha scritto:

> 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/20190621/d9b67ab5/attachment.html>


More information about the geonode-users mailing list