[opencms-dev] OpenCms 10 and Docker
Filip Kratochvil
filip.kratochvil at nelasoft.cz
Mon Apr 25 10:23:46 CEST 2016
Alex,
great, network share woks now, thank you! I tried to map SMB to port 445 but my syntax was wrong (i switched ports in docker run command).
Proxy - I get it makes senceJ Maybe you can add warning here https://hub.docker.com/r/alkacon/opencms-docker/ that system variable will not working without own webserver/proxy. I know you have here note “This is a basic OpenCms install with mySQL and Tomcat.” … but when I start configure system variables later, i forgot it…J
Thank you again!
--
S pozdravem / Kind regards
Filip Kratochvil
------------------------------------------------
NELASOFT Technologies, s.r.o.
E-mail: filip.kratochvil at nelasoft.cz
Web: www.nelasoft.cz <http://www.nelasoft.cz/>
Twitter: @NELASOFT <https://twitter.com/NELASOFT>
From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Alex Kandzior
Sent: Monday, April 25, 2016 10:10 AM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] OpenCms 10 and Docker
Filip,
Regarding network drive:
If you connect from a windows machine, windows always expects the SMB port to be 445. So you would need to start with -p 445:1445. Other OS like Linux allow you to specify the port in the SMB connection string.
Regarding the Proxy setting:
OpenCms does not actually contain the proxy, you need to configure the proxy in a separate docker instance e.g. using haproxy. I posted a sample haproxy configuration on Gitter a while back,
Kind regards,
Alex.
-------------------
Alexander Kandzior
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com - http://www.opencms.org
Am 25.04.2016 um 09:07 schrieb Alex Kandzior <alex at opencms.org>:
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/
- 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.alkacon.com/> - http://www.opencms.org <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
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
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20160425/1b1371bb/attachment.htm>
More information about the opencms-dev
mailing list