[GeoNode-users] Geonode commands on docker installation

francesco bartoli xbartolone at gmail.com
Wed Oct 17 08:59:49 PDT 2018


Hi,

docker-compose exec django4geonode python manage.py <geonode_command>
--settings=geonode.settings

should do the trick and it is the recommended way from Docker
https://docs.docker.com/compose/reference/exec/ which is equivalent to *docker
exec*

Hope this helps

Francesco

Il giorno mer 17 ott 2018 alle ore 05:31 Gus MacAulay <gusmacaulay at gmail.com>
ha scritto:

> Hi Matteo,
>
> The only way I have found is to get a bash shell for the running docker
> container and execute the commands from inside - like this;
> https://askubuntu.com/questions/505506/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode#507009
> This doesn't really seem like the way things should work, and I would be
> interested if any one had a better idea of how to do this or how docker
> containers can be set up to support running the geonode commands.
>
> Regards
> Gus
>
> On Wed, 10 Oct 2018 at 05:54, Matteo Conte <matteo.conte at abitat.it> wrote:
>
>> Hi,
>>   how I can run geonode command ( geonode-updateip, importlayers,
>> updatelayers) on docker installation?
>> Kind regards
>> Matteo
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>
> _______________________________________________
> 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/20181017/bd5892e0/attachment.html>


More information about the geonode-users mailing list