access to webapps in container

main
Inga 🏳‍🌈 2 years ago
parent f451539d2f
commit 4c4deef944
  1. 17
      README.md

@ -629,6 +629,23 @@ ssh CONTAINER_IP
With keys-based auth: TODO With keys-based auth: TODO
### Webdev
#### Accessing dev sites running inside container
In container: `doas apk add squid`, and edit `/etc/squid/squid/conf` accordingly
(most likely you'll only need to change local network definition to match the subnet shared between the host and the container).
Then:
```
doas rc-update add squid
doas rc-service squid start
```
(Note that squid requires devfs service to be running).
In host, create new FF profile (`about:profiles`) for that purpose, and configure it to use squid proxy running inside of container.
### Docker ### Docker
For container terminal apps to be usable: For container terminal apps to be usable:

Loading…
Cancel
Save