HI Massimo, It is working on a virtual machine using Ubuntu.. this is the steps that I have followed:
I have built the image and tagged as web2py1 using: sudo docker build -t web2py1 . So an image has been generated called "web2py1". To run in on an exposed port I have ran: docker run -i -P -t web2py1 I got it running on a random port, like 49153 (it could be changed using -p 80:80 instead of -P) The only issue is accessing the admin... seems that the secure connection is not open... When I tried https://localhost:49153 it says "Secure conection failed" Let me know if you need help with the tests... I will try to figure out how to enable https. Regards, Tito On Tue, Dec 9, 2014 at 4:20 AM, rif <[email protected]> wrote: > Did you check the Container port redirection section from mac installation > guide (https://docs.docker.com/installation/mac/)? > > If you run a container with an exposed port, > > $ docker run --rm -i -t -p 80:80 nginx > > then you should be able to access that Nginx server using the IP address > reported by: > > $ boot2docker ip > > Typically, it is 192.168.59.103:2375, but VirtualBox's DHCP > implementation might change this address in the future. > > marți, 9 decembrie 2014, 04:29:53 UTC+2, Massimo Di Pierro a scris: > >> Could be a firewall. I am using a mac. >> >> On Sunday, 7 December 2014 10:02:22 UTC-6, rif wrote: >>> >>> I tested that before I wrote. Are you sure it's not some firewall or >>> something? What OS did you use? >>> >>> duminică, 7 decembrie 2014, 17:59:43 UTC+2, Massimo Di Pierro a scris: >>>> >>>> Done that but no response. :-( >>>> >>>> On Saturday, 6 December 2014 11:37:04 UTC-6, rif wrote: >>>>> >>>>> As far as I can tell the only thing you have to do is to run the >>>>> container like this: >>>>> >>>>> docker run -p 8080:80 web2py >>>>> >>>>> and you will be able to connect at http://localhost:8080 >>>>> >>>>> Of course you can change the 8080 to any other port. >>>>> >>>>> -rif >>>>> >>>>> vineri, 5 decembrie 2014, 05:11:22 UTC+2, Massimo Di Pierro a scris: >>>>>> >>>>>> Has anybody here used docker with web2py? I have built a container >>>>>> (docker + web2py + nginx + uwsgi + supervisor) and everything seems to be >>>>>> fine (no errors) except that I cannot connect. I attached the docker >>>>>> folder >>>>>> in case you can help debug. >>>>>> >>>>>> Massimo >>>>>> >>>>>> >>>>>> -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- Linux User #387870 .........____ .... _/_õ|__| ..º[ .-.___.-._| . . . . .__( o)__( o).:_______ -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

