Open juan-manuel-alberro opened 8 years ago
Sorry for the late reply.
Can I run two containers at the same time and access it using a URL?
I have to say it's not available basically. However, if you are familiar with Docker, it's possible to do it, but it will be no longer Wocker.
I created a patch to run multiple wocker containers at the same time. https://github.com/ailispaw/wocker/tree/wocker-multi
If you run the wocker VM on _Mac OSX and installed **vagrant-triggers
**_ plugin, you can access http://wocker.wocker.dev
instead of http://wocker.dev
as below.
And you can create another wocker container as you want.
$ vagrant destroy -f # If you have already created the wocker VM.
$ vagrant up # You may ask your password to setup DNS resolver and routing on Mac OSX.
$ open http://wocker.wocker.dev
$ vagrant ssh -c 'wocker-multi <name>'
$ open http://<name>.wocker.dev
It may take some time to refresh DNS cache on the local.
@ailispaw This is amazing! However, some Wocker commands will not work. I will consider this feature on the next major version.
@ixkaito Yeah, I'm concerned about Windows, too. We need contributors for that.
:+1:
Can I run two containers at the same time and access it using a URL? By default, it uses
wocker.dev
but I want to create another container that runs into let saysmysite.dev
. Is that possible? Thanks.