I've gone through several tutorials to make access to the application available via Network, but nothing has worked so far:
//devcontainer.json
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.0/containers/javascript-node
{
"name": "node",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "18-bullseye", "network": "host" }
},
"customizations": {
"vscode": {
"extensions": [
"dbaeumer.vscode-eslint",
"dbaeumer.vscode-eslint",
"anseki.vscode-color",
"GitHub.copilot",
"sainoba.px-to-rem",
"bradlc.vscode-tailwindcss",
"neptunedesign.vs-sequential-number",
"Wscats.vue"
]
}
},
"settings": {
"remote.localPortHost": "allInterfaces"
},
"forwardPorts": [8080],
"remoteUser": "node"
}
# DockerFile
ARG VARIANT=16-bullseye
FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:0-${VARIANT}
EXPOSE 8080
I also tried to add the settings in the settings of each environment local:

I can normally access from the local machine, but when I try to access through the cell phone, I can't

I need to fix some problems in the mobile version, it would be nice to be able to access it directly via wi-fi, thanks in advance
Mac OS 12.4
Docker Desktop 4.9.1 (81317)


