# Podman

#### Accessing host ports from inside a container

```haskell
virtualisation = {
  oci-containers.containers = {
    example-container = {
      image = "example-image";
      extraOptions = [ "--network=slirp4netns:allow_host_loopback=true" ];
      };
    };
  };
};
```

From the container's config, reference `host.containers.internal:PORT`