<div dir="ltr"><div dir="ltr">Hi,<div><br></div>docker-compose exec django4geonode python manage.py <geonode_command> --settings=geonode.settings<br><div class="gmail_quote"><div><br></div><div>should do the trick and it is the recommended way from Docker <a href="https://docs.docker.com/compose/reference/exec/">https://docs.docker.com/compose/reference/exec/</a> which is equivalent to <i>docker exec</i></div><div dir="ltr"><br></div><div>Hope this helps</div><div><br></div><div>Francesco</div><div><br></div><div dir="ltr">Il giorno mer 17 ott 2018 alle ore 05:31 Gus MacAulay <<a href="mailto:gusmacaulay@gmail.com">gusmacaulay@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">Hi Matteo,<div><br></div><div>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; <a href="https://askubuntu.com/questions/505506/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode#507009" target="_blank">https://askubuntu.com/questions/505506/how-to-get-bash-or-ssh-into-a-running-container-in-background-mode#507009</a></div><div>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.</div><div><br></div><div>Regards</div><div>Gus</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, 10 Oct 2018 at 05:54, Matteo Conte <<a href="mailto:matteo.conte@abitat.it" target="_blank">matteo.conte@abitat.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">Hi,</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)"> how I can run geonode command ( geonode-updateip, importlayers, updatelayers) on docker installation?</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">Kind regards</div><div style="font-family:arial,helvetica,sans-serif;font-size:10pt;color:rgb(0,0,0)">Matteo</div></div></div>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</blockquote></div></div></div>