[opencms-dev] OpenCms 10 and Docker

Alex Kandzior alex at opencms.org
Mon Apr 25 09:07:37 CEST 2016


Filip,

regarding your questions about OpenCms and Docker

> -          i would like to know ho to connect to container via SSH (Putty or SCP on Windows)? I saw that older OpenCms versions have SSH configuration in Dockerfile, but version 10 don’t have it. Version 10 have different approach, or?

You don’t want to connect to the docker instance using ssh. That is really bad docker practice. Ask google about ssh to a docker container to get the details. Ask Google about ‚nsenter‘ or check here: https://blog.docker.com/tag/nsenter/ <https://blog.docker.com/tag/nsenter/>
> -          i’m not able to map shared network drive. I set system variables described here https://hub.docker.com/r/alkacon/opencms-docker/ <https://hub.docker.com/r/alkacon/opencms-docker/> but there is no change…

It’s not that hard if you have the parameters right. You need to start the container with  '-e "OCCO_ENABLE_JLAN=true" -p 1445:1445‘. Im this case the network share is available at port 1445 on the docker host. 
 
> -          when i try to set system variable for proxy (remove opencms prefix), all links on page end by 404


Impossible to tell what went wrong with this little information, sorry.

Kind regards,
Alex.

-------------------
Alexander Kandzior

Alkacon Software GmbH - The OpenCms Experts                                                    
http://www.alkacon.com - http://www.opencms.org                                                           



> Am 25.04.2016 um 08:54 schrieb Filip Kratochvil <filip.kratochvil at nelasoft.cz>:
> 
> Hi guys,
>  
> i’m trying to run OpenCms with Docker (it’s new technology for me). I launched OpenCms 10 instance without problems but:
> -          i would like to know ho to connect to container via SSH (Putty or SCP on Windows)? I saw that older OpenCms versions have SSH configuration in Dockerfile, but version 10 don’t have it. Version 10 have different approach, or?
> -          i’m not able to map shared network drive. I set system variables described here https://hub.docker.com/r/alkacon/opencms-docker/ <https://hub.docker.com/r/alkacon/opencms-docker/> but there is no change…
> -          when i try to set system variable for proxy (remove opencms prefix), all links on page end by 404
>  
> Does anyone have same experience?
>  
> Thank you very much.
>  
> --
> S pozdravem / Kind regards
> Filip Kratochvil
> ------------------------------------------------
> NELASOFT Technologies, s.r.o.
> E-mail: filip.kratochvil at nelasoft.cz <mailto:filip.kratochvil at nelasoft.cz>
> Web: www.nelasoft.cz <http://www.nelasoft.cz/>
> Twitter: @NELASOFT <https://twitter.com/NELASOFT>
>  
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev <http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160425/86e9662c/attachment.htm>


More information about the opencms-dev mailing list