You can test versions of Internet Explorer using the free virtual machines Microsoft provides. If you need to access a local version of a site running in Docker, then you'll need to tweak the VM to be able to access it.
- In the VM, open the `hosts` file:
- Add the domains of your site to point to
18.104.22.168- this is the default IP address of your Docker instance running on the host.
Note:my setup uses the
*.localdomain to get round Android failing on
*.dev- change as needed. Also note that the
hostsfile doesn't support wildcards, so you'll need to list every domain separately.
22.214.171.124 mylovelysite.local 126.96.36.199 anothersite.local
The VM will probably complain that you can't overwrite
hosts, so just save it as a text file somewhere then drag it to the
/etc folder and rename.
You can also access your host machine directly on
10.0.2.2 - this is the
localhost of your host machine, not the Docker instance.
The alternative is to set up DNSMasq on your VM to handle this automatically. You may also need to change the Adapter type of your VM (Virtualbox > highlight VM > Settings > Network) to
Host-only Adapter; however, mine worked fine without this step.