-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev Containers 0.255.2 docker compose problem #7305
Comments
What do you get for (Could be #6814.) |
This is the output of the command: $ docker buildx ls
NAME/NODE DRIVER/ENDPOINT STATUS PLATFORMS
multiarch * docker-container
multiarch0 unix:///var/run/docker.sock running linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/amd64/v4, linux/386, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/mips64le, linux/mips64
default docker
default default running linux/amd64, linux/386, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/arm/v7, linux/arm/v6 |
Try switching to the default builder, that should work around the problem: |
@chrmarti that worked.
|
We are using a temporary image to make files available at build time when you are running with BuildKit <0.8. When you are using BuildKit >=0.8 we can use an additional build context instead and this problem should not occur. |
I'm using v0.8.2 so I suppose this is a regression in 0.255.2. Isn't it? $ docker buildx version
github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491 And when you talk about "additional build context" I suppose you are talking about this. |
Correct. Could you append the full dev container log from when this fails? |
Just found that for Docker Compose we always use the image and never the build context. No need for your log then. Thanks. |
Same problem for me on macOS, reverting to 0.251.0 fixes the issue |
Same problem here on Windows using WSL to launch the devcontainer.... v0.251.0 still seems to complain about "already removing the container" |
Same problem, but I'm using buildx >0.8 and on the default version:
Reverting to 0.251.0 fixes. |
Same issue: $ docker buildx version
github.com/docker/buildx v0.9.1 ed00243a0ce2a0aee75311b06e32d33b4472968 $ docker buildx ls
NAME/NODE DRIVER/ENDPOINT STATUS BUILDKIT PLATFORMS
default * docker
default default running 20.10.17 linux/arm64, linux/amd64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6
desktop-linux docker
desktop-linux desktop-linux running 20.10.17 linux/arm64, linux/amd64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/arm/v7, linux/arm/v6 Reverting to Logs------
> [app_local_django internal] load metadata for docker.io/library/dev_container_feature_content_temp:latest:
------
[2022-10-24T16:20:30.910Z] failed to solve: rpc error: code = Unknown desc = failed to solve with frontend dockerfile.v0: failed to create LLB definition: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
[2022-10-24T16:20:30.916Z] Stop (2546 ms): Run: docker-compose --project-name app -f /Users/user/dev/project/app/local.yml -f /Users/user/dev/project/app/.devcontainer/docker-compose.yml -f /Users/user/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1666628428370.yml build
[2022-10-24T16:20:30.917Z] Error: Command failed: docker-compose --project-name app -f /Users/user/dev/project/app/local.yml -f /Users/user/dev/project/app/.devcontainer/docker-compose.yml -f /Users/user/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1666628428370.yml build
[2022-10-24T16:20:30.917Z] at Mf (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:222:419)
[2022-10-24T16:20:30.917Z] at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[2022-10-24T16:20:30.917Z] at async pF (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:222:2358)
[2022-10-24T16:20:30.917Z] at async dF (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:206:2361)
[2022-10-24T16:20:30.917Z] at async DF (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:263:2177)
[2022-10-24T16:20:30.917Z] at async to (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:263:3110)
[2022-10-24T16:20:30.917Z] at async Ak (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:383:8108)
[2022-10-24T16:20:30.917Z] at async Ok (/Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js:383:7864)
[2022-10-24T16:20:30.919Z] Stop (7766 ms): Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/user/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/user/dev/project/app --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/user/dev/project/app --log-level debug --log-format json --config /Users/user/dev/project/app/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2022-10-24T16:20:30.919Z] Exit code 1
[2022-10-24T16:20:30.921Z] Command failed: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper --ms-enable-electron-run-as-node /Users/user/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /Users/user/Library/Application Support/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /Users/user/dev/project/app --workspace-mount-consistency cached --id-label devcontainer.local_folder=/Users/user/dev/project/app --log-level debug --log-format json --config /Users/user/dev/project/app/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2022-10-24T16:20:30.921Z] Exit code 1 |
Same issue on MacOS 12 with dev containers and django stack. Rerted to older version too. |
@AndrewPattersonRL @gustavovalverde Could you retry with Dev Containers 0.261.0-pre-release (previously named Remote-Containers) and append the full log ( @rubensa I thought I reproduced your problem, but it seems |
@rubensa What is your docker-compose version? (I'm using docker-compose 2.10.2 and BuildKit 0.9.1.) |
$ docker -v
Docker version 20.10.18, build b40c2f6 $ docker compose version
Docker Compose version v2.11.2 $ docker buildx version
github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491 $ docker buildx ls
NAME/NODE DRIVER/ENDPOINT STATUS PLATFORMS
multiarch * docker-container
multiarch0 unix:///var/run/docker.sock running linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/amd64/v4, linux/386
default docker
default default running linux/amd64, linux/386 And this is the (multiarch) Dockerfile used to build the Docker image used in VSCode: FROM rubensa/ubuntu-tini-dev-chrome:20.04 as base
# Architecture component of TARGETPLATFORM (platform of the build result)
ARG TARGETARCH
# Configure apt and install mysql-client and unixodbc-dev
RUN echo "# Installing mysql-client, unixodbc and unixodbc-dev..." \
&& sudo apt-get update; sudo DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-client unixodbc unixodbc-dev
# In ARM64 install python2 (needed to re-build node-sass) and phantomjs (as there is no pre-binary build for ruby gem)
RUN if [ "$TARGETARCH" = "arm64" ]; then echo "# Installing python2 and phantomjs..." && sudo DEBIAN_FRONTEND=noninteractive apt-get -y install python2 phantomjs; fi
# Snowflake ODBC driver
ARG ODBC_DRIVER_VERSION=2.25.3
RUN echo "# Installing Snowflake ODBC driver..." \
&& if [ "$TARGETARCH" = "arm64" ]; then PTF=linuxaarch64; TARGET=aarch64; elif [ "$TARGETARCH" = "amd64" ]; then PTF=linux; TARGET=x86_64; else PTF=linux; TARGET=$TARGETARCH; fi \
&& curl -o /tmp/snowflake-odbc-${ODBC_DRIVER_VERSION}.${TARGET}.deb -sSL https://sfc-repo.snowflakecomputing.com/odbc/${PTF}/${ODBC_DRIVER_VERSION}/snowflake-odbc-${ODBC_DRIVER_VERSION}.${TARGET}.deb \
&& sudo dpkg -i /tmp/snowflake-odbc-${ODBC_DRIVER_VERSION}.${TARGET}.deb \
&& rm /tmp/snowflake-odbc-${ODBC_DRIVER_VERSION}.${TARGET}.deb \
&& if [ "$TARGETARCH" = "arm64" ]; then \
# Fix: On arm64 the cacert.pem file permissions are wrong
sudo chmod 644 /usr/lib/snowflake/odbc/lib/cacert.pem \
# Fix: On arm64 ODBC SnowflakeDSIIDriver needs to be manually configured
&& printf "[ODBC Drivers]\n SnowflakeDSIIDriver=Installed\n\n[SnowflakeDSIIDriver]\n APILevel=1\n ConnectFunctions=YYY\n Description=Snowflake DSII\n Driver=/usr/lib/snowflake/odbc/lib/libSnowflake.so\n DriverODBCVer=03.52\n SQLLevel=1\n" | sudo tee /etc/odbcinst.ini; \
elif [ "$TARGETARCH" = "amd64" ]; then \
# Fix: On amd64 simba.snowflake.ini references /usr/lib/x86_64-linux-gnu/libodbcinst.so.1 wich does not exists
[ -f /usr/lib/x86_64-linux-gnu/libodbcinst.so.1 ] || sudo ln -s /usr/lib/x86_64-linux-gnu/libodbcinst.so /usr/lib/x86_64-linux-gnu/libodbcinst.so.1; \
fi
# Clean up apt
RUN sudo apt-get autoremove -y \
&& sudo apt-get clean -y \
&& sudo rm -rf /var/lib/apt/lists/*
FROM base
# Create vscode extensions cache directory so it is owned by the user
RUN mkdir -p /home/${USER_NAME}/.vscode-server/extensionsCache
# Create node cache directory so it is owned by the user
RUN mkdir -p /home/${USER_NAME}/.npm/_cacache
# Create bundle config directory so it is owned by the user
RUN mkdir -p /home/${USER_NAME}/.bundle
# Keep container running (for use in VSCode)
CMD [ "tail", "-f", "/dev/null" ] |
I just created a basic sample where I get the problem when the multiarch builder is in use and works when the default builder is in use. https://github.com/rubensa/vscode-remote-devcontainers-problem With Dev Containers v0.261.0 pre-release: This is the log when it doen't work ( [37 ms] Dev Containers 0.261.0 in VS Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075).
[37 ms] Start: Resolving Remote
[43 ms] Setting up container for folder or workspace: /work/vscode-remote-devcontainers-problem
[55 ms] Start: Check Docker is running
[55 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[71 ms] Server API version: 1.41
[71 ms] Start: Run: docker volume ls -q
[87 ms] Start: Run: docker inspect --type container 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728
[100 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/work/vscode-remote-devcontainers-problem --filter label=vsch.quality=stable
[112 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/work/vscode-remote-devcontainers-problem
[123 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /work/vscode-remote-devcontainers-problem --workspace-mount-consistency cached --id-label devcontainer.local_folder=/work/vscode-remote-devcontainers-problem --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[307 ms] (node:92775) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[308 ms] (Use `code --trace-deprecation ...` to show where the warning was created)
[309 ms] @devcontainers/cli 0.22.0. Node.js v16.14.2. linux 5.15.0-52-generic x64.
[309 ms] Start: Run: docker buildx version
[349 ms] github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491
[349 ms]
[349 ms] Start: Resolving Remote
[351 ms] Start: Run: docker-compose version --short
[354 ms] Start: Run: docker compose version --short
[390 ms] Docker Compose version: 2.11.2
[391 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=vscode-remote-devcontainers-problem_devcontainer --filter label=com.docker.compose.service=vscode-remote-devcontainers-problem
[404 ms] Start: Run: docker compose -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml --profile * config
[442 ms] name: devcontainer
services:
vscode-remote-devcontainers-problem:
build:
context: /work/vscode-remote-devcontainers-problem/.devcontainer
dockerfile: Dockerfile
networks:
default: null
volumes:
- type: bind
source: /work/vscode-remote-devcontainers-problem
target: /workspaces/vscode-remote-devcontainers-problem
bind:
create_host_path: true
networks:
default:
name: devcontainer_default
[445 ms] Start: Run: docker -v
[456 ms] Start: Run: docker events --format {{json .}} --filter event=start
[459 ms] PersistedPath=/home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data, ContainerHasLabels=false
[459 ms] Start: Run: docker compose -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml --profile * config
[496 ms] name: devcontainer
services:
vscode-remote-devcontainers-problem:
build:
context: /work/vscode-remote-devcontainers-problem/.devcontainer
dockerfile: Dockerfile
networks:
default: null
volumes:
- type: bind
source: /work/vscode-remote-devcontainers-problem
target: /workspaces/vscode-remote-devcontainers-problem
bind:
create_host_path: true
networks:
default:
name: devcontainer_default
[497 ms] Start: Run: docker inspect --type image rubensa/ubuntu-tini-dev:20.04
[2530 ms] local container features stored at: /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/node_modules/vscode-dev-containers/container-features
[2532 ms] Start: Run: tar --no-same-owner -x -f -
[2556 ms] Start: Run: docker build -t dev_container_feature_content_temp -f /tmp/devcontainercli-rubensa/container-features/0.22.0-1666774518113/Dockerfile.buildContent /tmp/devcontainercli-rubensa/container-features/0.22.0-1666774518113
Sending build context to Docker daemon 298kB
Step 1/2 : FROM scratch
--->
Step 2/2 : COPY . /tmp/build-features/
---> Using cache
---> aeebb1825adc
Successfully built aeebb1825adc
Successfully tagged dev_container_feature_content_temp:latest
[2952 ms] Docker Compose override file for building image:
version: '3.9'
services:
vscode-remote-devcontainers-problem:
build:
dockerfile: /tmp/devcontainercli-rubensa/container-features/0.22.0-1666774518113/Dockerfile-with-features
args:
- BUILDKIT_INLINE_CACHE=1
- _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label
- _DEV_CONTAINERS_IMAGE_USER=user
- _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp
[2953 ms] Start: Run: docker compose --project-name vscode-remote-devcontainers-problem_devcontainer -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml -f /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1666774518537.yml build --no-cache
[+] Building 1.3s (6/6) FINISHED
=> [internal] load .dockerignore 0.0s
=> => transferring context: 77B 0.0s
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> ERROR [internal] load metadata for docker.io/library/dev_container_fe 1.2s
=> CANCELED [internal] load metadata for docker.io/rubensa/ubuntu-tini-d 1.2s
=> [auth] library/dev_container_feature_content_temp:pull token for regi 0.0s
=> [auth] rubensa/ubuntu-tini-dev:pull token for registry-1.docker.io 0.0s
------
> [internal] load metadata for docker.io/library/dev_container_feature_content_temp:latest:
------
failed to solve: dev_container_feature_content_temp: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
[4389 ms] Error: Command failed: docker compose --project-name vscode-remote-devcontainers-problem_devcontainer -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml -f /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1666774518537.yml build --no-cache
[4389 ms] at uF (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:1844:431)
[4389 ms] at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
[4389 ms] at async Xse (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:1844:2433)
[4389 ms] at async Kse (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:1826:2396)
[4389 ms] at async goe (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:1888:2222)
[4389 ms] at async Gf (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:1888:3212)
[4389 ms] at async Hae (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:2008:15014)
[4389 ms] at async Vae (/home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js:2008:14768)
[4394 ms] Exit code 1
[4396 ms] Command failed: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /work/vscode-remote-devcontainers-problem --workspace-mount-consistency cached --id-label devcontainer.local_folder=/work/vscode-remote-devcontainers-problem --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[4396 ms] Exit code 1 This is the log when it works ( [50 ms] Dev Containers 0.261.0 in VS Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075).
[50 ms] Start: Resolving Remote
[56 ms] Setting up container for folder or workspace: /work/vscode-remote-devcontainers-problem
[69 ms] Start: Check Docker is running
[69 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[85 ms] Server API version: 1.41
[85 ms] Start: Run: docker volume ls -q
[102 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/work/vscode-remote-devcontainers-problem --filter label=vsch.quality=stable
[115 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /work/vscode-remote-devcontainers-problem --workspace-mount-consistency cached --id-label devcontainer.local_folder=/work/vscode-remote-devcontainers-problem --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --remove-existing-container --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[298 ms] (node:89487) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[299 ms] (Use `code --trace-deprecation ...` to show where the warning was created)
[300 ms] @devcontainers/cli 0.22.0. Node.js v16.14.2. linux 5.15.0-52-generic x64.
[300 ms] Start: Run: docker buildx version
[341 ms] github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491
[341 ms]
[341 ms] Start: Resolving Remote
[344 ms] Start: Run: docker-compose version --short
[347 ms] Start: Run: docker compose version --short
[384 ms] Docker Compose version: 2.11.2
[384 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=vscode-remote-devcontainers-problem_devcontainer --filter label=com.docker.compose.service=vscode-remote-devcontainers-problem
[397 ms] Start: Run: docker inspect --type container 97e8226fc4ae
[413 ms] Start: Removing existing container.
[413 ms] Start: Run: docker rm -f 97e8226fc4aef7d60650ebade4a95d749ef6fc7246d55a7f1057d6235715e0b9
[449 ms] Start: Run: docker compose -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml --profile * config
[486 ms] name: devcontainer
services:
vscode-remote-devcontainers-problem:
build:
context: /work/vscode-remote-devcontainers-problem/.devcontainer
dockerfile: Dockerfile
networks:
default: null
volumes:
- type: bind
source: /work/vscode-remote-devcontainers-problem
target: /workspaces/vscode-remote-devcontainers-problem
bind:
create_host_path: true
networks:
default:
name: devcontainer_default
[488 ms] Start: Run: docker -v
[500 ms] Start: Run: docker events --format {{json .}} --filter event=start
[503 ms] PersistedPath=/home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data, ContainerHasLabels=false
[503 ms] Start: Run: docker compose -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml --profile * config
[540 ms] name: devcontainer
services:
vscode-remote-devcontainers-problem:
build:
context: /work/vscode-remote-devcontainers-problem/.devcontainer
dockerfile: Dockerfile
networks:
default: null
volumes:
- type: bind
source: /work/vscode-remote-devcontainers-problem
target: /workspaces/vscode-remote-devcontainers-problem
bind:
create_host_path: true
networks:
default:
name: devcontainer_default
[541 ms] Start: Run: docker inspect --type image rubensa/ubuntu-tini-dev:20.04
[2705 ms] local container features stored at: /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/node_modules/vscode-dev-containers/container-features
[2708 ms] Start: Run: tar --no-same-owner -x -f -
[2732 ms] Start: Run: docker build -t dev_container_feature_content_temp -f /tmp/devcontainercli-rubensa/container-features/0.22.0-1666774355477/Dockerfile.buildContent /tmp/devcontainercli-rubensa/container-features/0.22.0-1666774355477
Sending build context to Docker daemon 298kB
Step 1/2 : FROM scratch
--->
Step 2/2 : COPY . /tmp/build-features/
---> Using cache
---> aeebb1825adc
Successfully built aeebb1825adc
Successfully tagged dev_container_feature_content_temp:latest
[3131 ms] Docker Compose override file for building image:
version: '3.9'
services:
vscode-remote-devcontainers-problem:
build:
dockerfile: /tmp/devcontainercli-rubensa/container-features/0.22.0-1666774355477/Dockerfile-with-features
args:
- BUILDKIT_INLINE_CACHE=1
- _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label
- _DEV_CONTAINERS_IMAGE_USER=user
- _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp
[3131 ms] Start: Run: docker compose --project-name vscode-remote-devcontainers-problem_devcontainer -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml -f /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1666774355904.yml build --no-cache
[+] Building 1.8s (7/12)
[+] Building 1.9s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 2.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 2.2s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 2.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 2.5s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 2.6s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 2.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 2.9s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 3.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 3.2s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 3.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 3.5s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 3.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 3.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.3s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.6s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 4.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.2s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.5s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 5.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.3s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.6s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 6.9s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.2s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.3s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.5s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.6s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 7.9s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 8.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 8.2s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 8.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 8.5s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 8.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 8.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.3s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.4s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.6s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 9.9s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.0s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.2s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.3s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.5s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.6s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.7s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.8s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 10.9s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 11.1s (7/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 11.2s (8/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 11.8s (9/12)
[+] Building 12.0s (9/12)
[+] Building 12.1s (9/12)
[+] Building 12.3s (9/12)
[+] Building 12.4s (9/12)
[+] Building 12.6s (9/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
[+] Building 12.7s (9/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 12.9s (11/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 13.0s (11/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 13.2s (11/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 13.3s (12/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 13.5s (12/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 13.6s (12/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 13.8s (12/12)
=> [internal] load build definition from Dockerfile-with-features 0.0s
[+] Building 13.9s (12/13)
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
[+] Building 13.9s (14/14) FINISHED
=> [internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 1.98kB 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 34B 0.0s
=> [internal] load metadata for docker.io/library/dev_container_feature_ 0.0s
=> [internal] load metadata for docker.io/rubensa/ubuntu-tini-dev:20.04 1.1s
=> [auth] rubensa/ubuntu-tini-dev:pull token for registry-1.docker.io 0.0s
=> CACHED [base 1/4] FROM docker.io/rubensa/ubuntu-tini-dev:20.04@sha256 0.0s
=> CACHED [dev_containers_feature_content_source 1/1] FROM docker.io/lib 0.0s
=> [base 2/4] RUN echo "# Installing mysql-client, unixodbc and unixodbc 9.9s
=> [base 3/4] RUN if [ "amd64" = "arm64" ]; then echo "# Installing pyth 0.3s
=> [base 4/4] RUN sudo apt-get autoremove -y && sudo apt-get clean -y 1.3s
=> [dev_containers_target_stage 1/2] COPY --from=dev_containers_feature_ 0.1s
=> [dev_containers_target_stage 2/2] RUN echo "_CONTAINER_USER_HOME=$(ge 0.3s
=> exporting to image 0.1s
=> => exporting layers 0.0s
=> => writing image sha256:fbe61a9ab6969f2411228527e5109a31bd9036b35939e 0.0s
=> => naming to docker.io/library/vscode-remote-devcontainers-problem_de 0.0s
=> exporting cache 0.0s
=> => preparing build cache for export 0.0s
[17267 ms] Start: Run: docker inspect --type image vscode-remote-devcontainers-problem_devcontainer-vscode-remote-devcontainers-problem
[17282 ms] Start: Run: docker build -f /tmp/devcontainercli-rubensa/updateUID.Dockerfile-0.22.0 -t vsc-vscode-remote-devcontainers-problem-b83f9b13f5ff2dc63c3724ad776f8a62-uid --build-arg BASE_IMAGE=vscode-remote-devcontainers-problem_devcontainer-vscode-remote-devcontainers-problem --build-arg REMOTE_USER=user --build-arg NEW_UID=1000 --build-arg NEW_GID=1000 --build-arg IMAGE_USER=user /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/empty-folder
Sending build context to Docker daemon 2.809kB
Step 1/10 : ARG BASE_IMAGE
Step 2/10 : FROM $BASE_IMAGE
---> fbe61a9ab696
Step 3/10 : USER root
---> Running in 2ba4f9542c97
Removing intermediate container 2ba4f9542c97
---> e5f6fac24909
Step 4/10 : ARG REMOTE_USER
---> Running in f5b514c7fce4
Removing intermediate container f5b514c7fce4
---> 0e4d09670146
Step 5/10 : ARG NEW_UID
---> Running in 61488bfc6993
Removing intermediate container 61488bfc6993
---> 460e37ff6caa
Step 6/10 : ARG NEW_GID
---> Running in 6609cd92b75a
Removing intermediate container 6609cd92b75a
---> 494824ee6c7d
Step 7/10 : SHELL ["/bin/sh", "-c"]
---> Running in 74d518618398
Removing intermediate container 74d518618398
---> 2d5a6bfcd5b8
Step 8/10 : RUN eval $(sed -n "s/${REMOTE_USER}:[^:]*:\([^:]*\):\([^:]*\):[^:]*:\([^:]*\).*/OLD_UID=\1;OLD_GID=\2;HOME_FOLDER=\3/p" /etc/passwd); eval $(sed -n "s/\([^:]*\):[^:]*:${NEW_UID}:.*/EXISTING_USER=\1/p" /etc/passwd); eval $(sed -n "s/\([^:]*\):[^:]*:${NEW_GID}:.*/EXISTING_GROUP=\1/p" /etc/group); if [ -z "$OLD_UID" ]; then echo "Remote user not found in /etc/passwd ($REMOTE_USER)."; elif [ "$OLD_UID" = "$NEW_UID" -a "$OLD_GID" = "$NEW_GID" ]; then echo "UIDs and GIDs are the same ($NEW_UID:$NEW_GID)."; elif [ "$OLD_UID" != "$NEW_UID" -a -n "$EXISTING_USER" ]; then echo "User with UID exists ($EXISTING_USER=$NEW_UID)."; elif [ "$OLD_GID" != "$NEW_GID" -a -n "$EXISTING_GROUP" ]; then echo "Group with GID exists ($EXISTING_GROUP=$NEW_GID)."; else echo "Updating UID:GID from $OLD_UID:$OLD_GID to $NEW_UID:$NEW_GID."; sed -i -e "s/\(${REMOTE_USER}:[^:]*:\)[^:]*:[^:]*/\1${NEW_UID}:${NEW_GID}/" /etc/passwd; if [ "$OLD_GID" != "$NEW_GID" ]; then sed -i -e "s/\([^:]*:[^:]*:\)${OLD_GID}:/\1${NEW_GID}:/" /etc/group; fi; chown -R $NEW_UID:$NEW_GID $HOME_FOLDER; fi;
---> Running in 732b85894aed
UIDs and GIDs are the same (1000:1000).
Removing intermediate container 732b85894aed
---> 6b0da3a9d694
Step 9/10 : ARG IMAGE_USER
---> Running in 1e87366b909a
Removing intermediate container 1e87366b909a
---> af56b4eb5fd9
Step 10/10 : USER $IMAGE_USER
---> Running in 3092450f1881
Removing intermediate container 3092450f1881
---> 32fd19b09efd
Successfully built 32fd19b09efd
Successfully tagged vsc-vscode-remote-devcontainers-problem-b83f9b13f5ff2dc63c3724ad776f8a62-uid:latest
[19060 ms] Docker Compose override file for creating container:
version: '3.9'
services:
'vscode-remote-devcontainers-problem':
image: vsc-vscode-remote-devcontainers-problem-b83f9b13f5ff2dc63c3724ad776f8a62-uid
entrypoint: ["/bin/sh", "-c", "echo Container started\n
trap \"exit 0\" 15\n
\n
exec \"$$@\"\n
while sleep 1 & wait $$!; do :; done", "-", "/sbin/tini", "--", "/sbin/fixuid", "/sbin/docker-from-docker-init.sh"]
command: ["tail","-f","/dev/null"]
labels:
- devcontainer.local_folder=/work/vscode-remote-devcontainers-problem
volumes:
- vscode:/vscode
volumes:
vscode:
external: true
[19060 ms] Writing docker-compose.devcontainer.containerFeatures-1666774371833.yml to /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose
[19060 ms] Start: Run: docker compose --project-name vscode-remote-devcontainers-problem_devcontainer -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml -f /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.build-1666774355904.yml -f /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1666774371833.yml up -d
[+] Running 1/1
⠿ Container vscode-remote-devcontainers-problem_devcontainer-vscode-remote-devcontainers-problem-1 Started 0.4ss
[19497 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=vscode-remote-devcontainers-problem_devcontainer --filter label=com.docker.compose.service=vscode-remote-devcontainers-problem
[19515 ms] Start: Run: docker inspect --type container 60b7552808b6
[19532 ms] Start: Inspecting container
[19532 ms] Start: Run: docker inspect --type container 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728
[19549 ms] Start: Run in container: /bin/sh
[19552 ms] Start: Run in container: uname -m
[19644 ms] x86_64
[19644 ms]
[19644 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[19645 ms] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[19645 ms]
[19645 ms] Start: Run in container: cat /etc/passwd
[19646 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[19647 ms]
[19647 ms]
[19647 ms] Exit code 1
[19647 ms] Start: Run in container: /bin/sh
[19650 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[19708 ms]
[19708 ms]
[19708 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[19725 ms]
[19725 ms]
[19725 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[19726 ms]
[19726 ms]
[19726 ms] Exit code 1
[19726 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[19727 ms]
[19727 ms]
[19727 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[19728 ms]
[19728 ms]
[19733 ms] Start: Run: docker inspect --type container 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728
[19750 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /work/vscode-remote-devcontainers-problem --id-label devcontainer.local_folder=/work/vscode-remote-devcontainers-problem --container-id 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728 --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --mount-workspace-git-root true
[19947 ms] (node:91214) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[19948 ms] (Use `code --trace-deprecation ...` to show where the warning was created)
[19951 ms] @devcontainers/cli 0.22.0. Node.js v16.14.2. linux 5.15.0-52-generic x64.
[19951 ms] Start: Run: docker inspect --type container 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728
[19975 ms] Start: Run: docker-compose version --short
[19978 ms] Start: Run: docker compose version --short
[20023 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /work/vscode-remote-devcontainers-problem --id-label devcontainer.local_folder=/work/vscode-remote-devcontainers-problem --container-id 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728 --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[20235 ms] (node:91268) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[20236 ms] (Use `code --trace-deprecation ...` to show where the warning was created)
[20238 ms] @devcontainers/cli 0.22.0. Node.js v16.14.2. linux 5.15.0-52-generic x64.
[20238 ms] Start: Run: docker inspect --type container 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728
[20260 ms] Start: Inspecting container
[20260 ms] Start: Run: docker inspect --type container 60b7552808b642c2e700f1feca79c6591ab534ebcf50b8937aa53fc4dd6ff728
[20275 ms] Start: Run in container: /bin/sh
[20279 ms] Start: Run in container: uname -m
[20333 ms] x86_64
[20333 ms]
[20333 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[20334 ms] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[20335 ms]
[20335 ms] Start: Run in container: cat /etc/passwd
[20337 ms] Start: Updating configuration state
[20344 ms] Start: Setup shutdown monitor
[20345 ms] Forking shutdown monitor: /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.261.0/dist/shutdown/shutdownMonitorProcess /run/user/1000/vscode-remote-containers-fd0837f252a88b332b2438291c8b5b843f1f8ca5.sock dockerCompose Debug /home/rubensa/.config/Code/logs/20221026T072256/exthost5/ms-vscode-remote.remote-containers 1666774352773
[20348 ms] Start: Run in container: test -d /home/user/.vscode-server
[20349 ms]
[20349 ms]
[20349 ms] Exit code 1
[20349 ms] Start: Run in container: test -d /home/user/.vscode-remote
[20350 ms]
[20350 ms]
[20350 ms] Exit code 1
[20350 ms] Start: Run in container: test ! -f '/home/user/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/user/.vscode-server/data/Machine' && { > '/home/user/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[20351 ms]
[20351 ms]
[20352 ms] Start: Run in container: mkdir -p '/home/user/.vscode-server/data/Machine' && cat >'/home/user/.vscode-server/data/Machine/settings.json' <<'settingsJSON'
[20353 ms]
[20353 ms]
[20354 ms] Start: Run in container: test -d /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075
[20354 ms]
[20355 ms]
[20355 ms] Exit code 1
[20355 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/d045a5eda657f4d7b676dedbfa7aab8207f8a075
[20355 ms]
[20356 ms]
[20356 ms] Start: Run in container: mkdir -p '/home/user/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/d045a5eda657f4d7b676dedbfa7aab8207f8a075' '/home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075'
[20357 ms]
[20357 ms]
[20358 ms] Start: Run in container: /bin/sh
[20361 ms] Start: Launching Dev Containers helper.
[20362 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/d045a5eda657f4d7b676dedbfa7aab8207f8a075'
[20362 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-f3ba2232a8dd7700e27807dec945d215c00c0ae8.sock) forwarded to local host (/run/user/1000/keyring/ssh).
[20362 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[20366 ms] /run/user/1000/gnupg/S.gpg-agent.extra
[20366 ms]
[20366 ms] Start: Run in container: gpgconf --list-dir agent-socket
[20367 ms] /home/user/.gnupg/S.gpg-agent
[20367 ms]
[20368 ms] Start: Run in container: gpgconf --list-dir homedir
[20369 ms] /home/user/.gnupg
[20369 ms]
[20369 ms] Start: Run in container: ls '/home/user/.gnupg/private-keys-v1.d' 2>/dev/null
[20371 ms]
[20372 ms]
[20372 ms] Exit code 2
[20372 ms] Start: Run in container: mkdir -p -m 700 '/home/user/.gnupg'
[20373 ms] Start: Run in container: /bin/sh
[20377 ms] userEnvProbe: interactiveShell
[20377 ms] Start: Run in container: echo ~
[20378 ms] userEnvProbe shell: /bin/bash
[20379 ms]
[20379 ms]
[20379 ms] Start: Run: gpgconf --list-dir homedir
[20384 ms] /home/rubensa/.gnupg
[20384 ms]
[20384 ms] Start: Run in container: gpgconf --list-dir homedir
[20386 ms] /home/user/.gnupg
[20386 ms]
[20386 ms] Start: Run in container: # Test for /home/user/.ssh/known_hosts and ssh
[20387 ms]
[20388 ms]
[20388 ms] Start: Run in container: # Test for /home/user/.gnupg/pubring.kbx and gpg
[20390 ms]
[20390 ms]
[20390 ms] Start: Run in container: # Copy /home/rubensa/.ssh/known_hosts to /home/user/.ssh/known_hosts
[20392 ms]
[20392 ms]
[20392 ms] Start: Run in container: # Copy /home/rubensa/.gnupg/pubring.kbx to /home/user/.gnupg/pubring.kbx
[20393 ms]
[20394 ms]
[20394 ms] Start: Run in container: # Test for /home/user/.gnupg/trustdb.gpg and gpg
[20396 ms]
[20396 ms]
[20396 ms] Start: Run in container: # Copy /home/rubensa/.gnupg/trustdb.gpg to /home/user/.gnupg/trustdb.gpg
[20402 ms]
[20403 ms]
[20403 ms] Start: Run: gpg-connect-agent updatestartuptty /bye
[20462 ms]
[20462 ms]
[20462 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node /tmp/vscode-remote-containers-f3ba2232a8dd7700e27807dec945d215c00c0ae8.js $*; }; f' || true
[20464 ms]
[20464 ms]
[20465 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[20520 ms] Start: Run in container: cat '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075' 2>/dev/null || (umask 377 && echo '923c3a46-441f-44ac-a16a-3c34129b1273' >'/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075-11cd4458-7710-4920-b20a-4a655d16060c' && mv -n '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075-11cd4458-7710-4920-b20a-4a655d16060c' '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075' && rm -f '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075-11cd4458-7710-4920-b20a-4a655d16060c' && cat '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075')
[20523 ms] 923c3a46-441f-44ac-a16a-3c34129b1273
[20523 ms]
[20523 ms] Start: Starting VS Code Server
[20523 ms] Start: Preparing Extensions
[20523 ms] Start: Run in container: test ! -f '/home/user/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/user/.vscode-server/data/Machine' && { > '/home/user/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[20525 ms]
[20525 ms]
[20526 ms] Extensions cache, install extensions: None
[20527 ms] Start: Run in container: test -d /home/user/.vscode-server/extensionsCache && ls /home/user/.vscode-server/extensionsCache || true
[20527 ms]
[20527 ms]
[20527 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[20528 ms] 42crunch.vscode-openapi-4.12.0
42crunch.vscode-openapi-4.13.0
42crunch.vscode-openapi-4.14.1
amazonwebservices.aws-toolkit-vscode-1.51.0
amazonwebservices.aws-toolkit-vscode-1.52.0
angular.ng-template-14.2.0
bierner.github-markdown-preview-0.3.0
bierner.markdown-checkbox-0.3.2
bierner.markdown-checkbox-0.3.3
bierner.markdown-emoji-0.3.0
bierner.markdown-footnotes-0.0.7
bierner.markdown-mermaid-1.15.2
bierner.markdown-preview-github-styles-1.0.1
bierner.markdown-yaml-preamble-0.1.0
bung87.rails-0.17.8
bung87.vscode-gemfile-0.4.2
castwide.solargraph-0.23.0
castwide.solargraph-0.24.0
cweijan.vscode-database-client2-4.6.0
cweijan.vscode-database-client2-5.8.11
davidanson.vscode-markdownlint-0.48.1
dbaeumer.vscode-eslint-2.2.6
eamodio.gitlens-12.2.2
eamodio.gitlens-13.0.2
eamodio.gitlens-13.0.3
editorconfig.editorconfig-0.16.4
esbenp.prettier-vscode-9.9.0
firsttris.vscode-jest-runner-0.4.59
formulahendry.auto-close-tag-0.5.14
github.vscode-pull-request-github-0.50.0
github.vscode-pull-request-github-0.52.0
hediet.vscode-drawio-1.6.4
iliazeus.vscode-ansi-1.1.2
jock.svg-1.4.22
kaiwood.endwise-1.5.1
koichisasada.vscode-rdbg-0.0.11
matthewpi.caddyfile-support-0.2.1
mhutchie.git-graph-1.30.0
mikestead.dotenv-1.0.1
ms-azuretools.vscode-docker-1.22.1
ms-kubernetes-tools.vscode-kubernetes-tools-1.3.10
ms-vscode.vscode-typescript-tslint-plugin-1.3.4
nrwl.angular-console-17.23.3
sianglim.slim-0.1.2
stoplight.spectral-1.0.0
stoplight.spectral-1.1.0
valentjn.vscode-ltex-13.1.0
visualstudioexptteam.intellicode-api-usage-examples-0.2.6
visualstudioexptteam.vscodeintellicode-1.2.29
[20529 ms]
[20529 ms] Extensions cache, link in container: None
[20529 ms] Start: Run in container: /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/user/.vscode-server --use-host-proxy --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075 --extensions-download-dir /home/user/.vscode-server/extensionsCache --start-server --disable-websocket-compression
[20532 ms] /home/user
[20533 ms]
[20533 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-f3ba2232a8dd7700e27807dec945d215c00c0ae8.js' >/tmp/vscode-remote-containers-f3ba2232a8dd7700e27807dec945d215c00c0ae8.js
[20534 ms]
[20534 ms]
[20534 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-f3ba2232a8dd7700e27807dec945d215c00c0ae8.js' >/tmp/vscode-remote-containers-server-f3ba2232a8dd7700e27807dec945d215c00c0ae8.js_1666774373307
[20538 ms]
[20539 ms]
[20644 ms] *
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[20648 ms] Server bound to 127.0.0.1:34459 (IPv4)
Extension host agent listening on 34459
[20648 ms] Start: Run in container: echo 34459 >'/home/user/.vscode-server/data/Machine/.devport-d045a5eda657f4d7b676dedbfa7aab8207f8a075'
[20649 ms]
[20649 ms]
[20649 ms] Port forwarding for container port 34459 starts listening on local port.
[20650 ms] Port forwarding local port 34459 to container port 34459
[20651 ms] Start: Run in container: # Test for /home/user/.gitconfig and git
[20652 ms]
[20652 ms]
[20652 ms] Start: Run in container: # Copy /home/rubensa/.gitconfig to /home/user/.gitconfig
[20654 ms]
[20654 ms]
[20655 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node /tmp/vscode-remote-containers-f3ba2232a8dd7700e27807dec945d215c00c0ae8.js $*; }; f' || true
[20656 ms]
[20656 ms]
[20689 ms] userEnvProbe PATHs:
Probe: '/opt/rbenv/shims:/opt/rbenv/bin:/opt/gvm/bin:/opt/conda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/dotnet'
Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[20699 ms] Port forwarding connection from 43234 > 34459 > 34459 in the container.
[20699 ms] Start: Run in container: /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node -e
[20812 ms] [08:52:53] Extension host agent started.
[20831 ms] Port forwarding 43234 > 34459 > 34459 stderr: Connection established
[20873 ms] Port forwarding connection from 43242 > 34459 > 34459 in the container.
[20874 ms] Start: Run in container: /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node -e
[20895 ms] [08:52:53] ComputeTargetPlatform: linux-x64
[20907 ms] [08:52:53] [127.0.0.1][418dc60a][ManagementConnection] New connection established.
[21002 ms] Port forwarding 43242 > 34459 > 34459 stderr: Connection established
[21060 ms] [08:52:53] [127.0.0.1][bfbff151][ExtensionHostConnection] New connection established.
[21073 ms] [08:52:53] [127.0.0.1][bfbff151][ExtensionHostConnection] <503> Launched Extension Host Process. With Dev Containers v0.251.0: It works ( [39 ms] Remote-Containers 0.251.0 in VS Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075).
[39 ms] Start: Resolving Remote
[45 ms] Setting up container for folder or workspace: /work/vscode-remote-devcontainers-problem
[57 ms] Start: Check Docker is running
[57 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[74 ms] Server API version: 1.41
[74 ms] Start: Run: docker volume ls -q
[91 ms] Start: Run: docker inspect --type container 1dc5e1747ef79fefe8b8405a5998a2034dfb029cdcc700d23e900ae491b88086
[105 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=/work/vscode-remote-devcontainers-problem --filter label=vsch.quality=stable
[117 ms] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=/work/vscode-remote-devcontainers-problem
[130 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js up --user-data-folder /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data --workspace-folder /work/vscode-remote-devcontainers-problem --workspace-mount-consistency cached --id-label devcontainer.local_folder=/work/vscode-remote-devcontainers-problem --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --build-no-cache --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[257 ms] remote-containers 0.251.0.
[257 ms] Start: Run: docker buildx version
[304 ms] Start: Resolving Remote
[308 ms] Start: Run: docker-compose version --short
[311 ms] Start: Run: docker compose version --short
[351 ms] Docker Compose version: 2.11.2
[352 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=vscode-remote-devcontainers-problem_devcontainer --filter label=com.docker.compose.service=vscode-remote-devcontainers-problem
[365 ms] Start: Run: docker compose -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml --profile * config
[408 ms] name: devcontainer
services:
vscode-remote-devcontainers-problem:
build:
context: /work/vscode-remote-devcontainers-problem/.devcontainer
dockerfile: Dockerfile
networks:
default: null
volumes:
- type: bind
source: /work/vscode-remote-devcontainers-problem
target: /workspaces/vscode-remote-devcontainers-problem
bind:
create_host_path: true
networks:
default:
name: devcontainer_default
[410 ms] Start: Run: docker -v
[422 ms] Start: Run: docker events --format {{json .}} --filter event=start
[425 ms] PersistedPath=/home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data, ContainerHasLabels=false
[425 ms] Start: Run: docker compose -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml --profile * config
[466 ms] name: devcontainer
services:
vscode-remote-devcontainers-problem:
build:
context: /work/vscode-remote-devcontainers-problem/.devcontainer
dockerfile: Dockerfile
networks:
default: null
volumes:
- type: bind
source: /work/vscode-remote-devcontainers-problem
target: /workspaces/vscode-remote-devcontainers-problem
bind:
create_host_path: true
networks:
default:
name: devcontainer_default
[468 ms] local container features stored at: /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/node_modules/vscode-dev-containers/container-features
[469 ms] Start: Run: tar --no-same-owner -x -f -
[482 ms] Start: Run: docker compose --project-name vscode-remote-devcontainers-problem_devcontainer -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml build --no-cache --pull
[+] Building 13.8s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
[+] Building 13.9s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 14.1s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 14.2s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 14.4s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 14.5s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 14.7s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 14.8s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.0s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.1s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.3s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.4s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.6s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.7s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 15.9s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.0s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.2s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.3s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.5s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.6s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.8s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 16.9s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 17.1s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 17.2s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 17.4s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 17.5s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 17.7s (7/8)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
[+] Building 17.8s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 17.9s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 18.1s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 18.2s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 18.4s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 18.5s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 18.7s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 18.8s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 19.0s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 19.1s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 19.3s (7/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
[+] Building 19.3s (9/9) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 905B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 77B 0.0s
=> [internal] load metadata for docker.io/rubensa/ubuntu-tini-dev:20.04 0.8s
=> CACHED [base 1/4] FROM docker.io/rubensa/ubuntu-tini-dev:20.04@sha256 0.0s
=> => resolve docker.io/rubensa/ubuntu-tini-dev:20.04@sha256:60655132752 0.0s
=> [base 2/4] RUN echo "# Installing mysql-client, unixodbc and unixodbc 8.4s
=> [base 3/4] RUN if [ "amd64" = "arm64" ]; then echo "# Installing pyth 0.1s
=> [base 4/4] RUN sudo apt-get autoremove -y && sudo apt-get clean -y 1.1s
=> exporting to oci image format 8.7s
=> => exporting layers 3.2s
=> => exporting manifest sha256:7e68f4bba38aab0446604a9be91502183f5fde71 0.0s
=> => exporting config sha256:660a7c17c7480a16ba932d1cb88519f9ff6bdd5ad8 0.0s
=> => sending tarball 5.5s
=> importing to docker 1.5s
[19953 ms] Start: Run: docker inspect --type image vscode-remote-devcontainers-problem_devcontainer-vscode-remote-devcontainers-problem
[19970 ms] Start: Run: docker build -f /tmp/vsch-rubensa/updateUID.Dockerfile-0.251.0 -t vsc-vscode-remote-devcontainers-problem-b83f9b13f5ff2dc63c3724ad776f8a62-uid --build-arg BASE_IMAGE=vscode-remote-devcontainers-problem_devcontainer-vscode-remote-devcontainers-problem --build-arg REMOTE_USER=user --build-arg NEW_UID=1000 --build-arg NEW_GID=1000 --build-arg IMAGE_USER=user /tmp/vsch-rubensa
Sending build context to Docker daemon 593.9kB
Step 1/10 : ARG BASE_IMAGE
Step 2/10 : FROM $BASE_IMAGE
---> 660a7c17c748
Step 3/10 : USER root
---> Running in 280becd4d207
Removing intermediate container 280becd4d207
---> 72986bcea497
Step 4/10 : ARG REMOTE_USER
---> Running in 95ceb52bbae3
Removing intermediate container 95ceb52bbae3
---> 5a8368f81610
Step 5/10 : ARG NEW_UID
---> Running in 2cb1d4ed8766
Removing intermediate container 2cb1d4ed8766
---> b6dffa3689fd
Step 6/10 : ARG NEW_GID
---> Running in abdd2b194e7c
Removing intermediate container abdd2b194e7c
---> 9ec5710f2eaf
Step 7/10 : SHELL ["/bin/sh", "-c"]
---> Running in c14f9df124b7
Removing intermediate container c14f9df124b7
---> 63b4ff8e72f9
Step 8/10 : RUN eval $(sed -n "s/${REMOTE_USER}:[^:]*:\([^:]*\):\([^:]*\):[^:]*:\([^:]*\).*/OLD_UID=\1;OLD_GID=\2;HOME_FOLDER=\3/p" /etc/passwd); eval $(sed -n "s/\([^:]*\):[^:]*:${NEW_UID}:.*/EXISTING_USER=\1/p" /etc/passwd); eval $(sed -n "s/\([^:]*\):[^:]*:${NEW_GID}:.*/EXISTING_GROUP=\1/p" /etc/group); if [ -z "$OLD_UID" ]; then echo "Remote user not found in /etc/passwd ($REMOTE_USER)."; elif [ "$OLD_UID" = "$NEW_UID" -a "$OLD_GID" = "$NEW_GID" ]; then echo "UIDs and GIDs are the same ($NEW_UID:$NEW_GID)."; elif [ "$OLD_UID" != "$NEW_UID" -a -n "$EXISTING_USER" ]; then echo "User with UID exists ($EXISTING_USER=$NEW_UID)."; elif [ "$OLD_GID" != "$NEW_GID" -a -n "$EXISTING_GROUP" ]; then echo "Group with GID exists ($EXISTING_GROUP=$NEW_GID)."; else echo "Updating UID:GID from $OLD_UID:$OLD_GID to $NEW_UID:$NEW_GID."; sed -i -e "s/\(${REMOTE_USER}:[^:]*:\)[^:]*:[^:]*/\1${NEW_UID}:${NEW_GID}/" /etc/passwd; if [ "$OLD_GID" != "$NEW_GID" ]; then sed -i -e "s/\([^:]*:[^:]*:\)${OLD_GID}:/\1${NEW_GID}:/" /etc/group; fi; chown -R $NEW_UID:$NEW_GID $HOME_FOLDER; fi;
---> Running in eb0a10310831
UIDs and GIDs are the same (1000:1000).
Removing intermediate container eb0a10310831
---> cd926bb11f8a
Step 9/10 : ARG IMAGE_USER
---> Running in e30d305b6311
Removing intermediate container e30d305b6311
---> ac1466aac4ac
Step 10/10 : USER $IMAGE_USER
---> Running in 232fc4d0f1d7
Removing intermediate container 232fc4d0f1d7
---> 3362e78a3b85
Successfully built 3362e78a3b85
Successfully tagged vsc-vscode-remote-devcontainers-problem-b83f9b13f5ff2dc63c3724ad776f8a62-uid:latest
[21796 ms] Writing docker-compose.devcontainer.containerFeatures-1666775211922.yml to /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose
[21796 ms] Start: Run: docker compose --project-name vscode-remote-devcontainers-problem_devcontainer -f /work/vscode-remote-devcontainers-problem/.devcontainer/docker-compose.yml -f /home/rubensa/.config/Code/User/globalStorage/ms-vscode-remote.remote-containers/data/docker-compose/docker-compose.devcontainer.containerFeatures-1666775211922.yml up -d
[+] Running 1/1
⠿ Container vscode-remote-devcontainers-problem_devcontainer-vscode-remote-devcontainers-problem-1 Started 0.4ss
[22204 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=vscode-remote-devcontainers-problem_devcontainer --filter label=com.docker.compose.service=vscode-remote-devcontainers-problem
[22218 ms] Start: Run: docker inspect --type container 7d0bcb1930c8
[22232 ms] Start: Inspecting container
[22232 ms] Start: Run: docker inspect --type container 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895
[22246 ms] Start: Run in container: /bin/sh
[22249 ms] Start: Run in container: uname -m
[22335 ms] x86_64
[22335 ms]
[22335 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[22336 ms] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[22336 ms]
[22336 ms] Start: Run in container: cat /etc/passwd
[22337 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[22338 ms]
[22338 ms]
[22338 ms] Exit code 1
[22338 ms] Start: Run in container: /bin/sh
[22341 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[22416 ms]
[22416 ms]
[22416 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[22433 ms]
[22433 ms]
[22433 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[22434 ms]
[22434 ms]
[22434 ms] Exit code 1
[22434 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[22435 ms]
[22435 ms]
[22435 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[22436 ms]
[22436 ms]
[22441 ms] Start: Run: docker inspect --type container 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895
[22464 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /work/vscode-remote-devcontainers-problem --container-id 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895 --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --mount-workspace-git-root true
[22627 ms] remote-containers 0.251.0.
[22627 ms] Start: Run: docker inspect --type container 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895
[22682 ms] Start: Run: docker-compose version --short
[22687 ms] Start: Run: docker compose version --short
[22734 ms] Start: Inspecting container
[22734 ms] Start: Run: docker inspect --type container 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895
[22750 ms] Start: Run in container: /bin/sh
[22753 ms] Start: Run in container: uname -m
[22838 ms] x86_64
[22838 ms]
[22838 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[22839 ms] NAME="Ubuntu"
VERSION="20.04.5 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.5 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
[22839 ms]
[22839 ms] Start: Run in container: cat /etc/passwd
[22840 ms] Start: Updating configuration state
[22846 ms] Start: Setup shutdown monitor
[22847 ms] Forking shutdown monitor: /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/shutdown/shutdownMonitorProcess /run/user/1000/vscode-remote-containers-7b09af069eb58d13467c82b0d559168415d7af56.sock dockerCompose Debug /home/rubensa/.config/Code/logs/20221026T072256/exthost5/ms-vscode-remote.remote-containers 1666775190126
[22850 ms] Start: Run in container: test -d /home/user/.vscode-server
[22851 ms]
[22851 ms]
[22851 ms] Exit code 1
[22851 ms] Start: Run in container: test -d /home/user/.vscode-remote
[22852 ms]
[22852 ms]
[22852 ms] Exit code 1
[22852 ms] Start: Run in container: test ! -f '/home/user/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/user/.vscode-server/data/Machine' && { > '/home/user/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[22853 ms]
[22853 ms]
[22854 ms] Start: Run: /opt/VSCode-linux-x64-1.72.2/code --ms-enable-electron-run-as-node /home/rubensa/.vscode/extensions/ms-vscode-remote.remote-containers-0.251.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /work/vscode-remote-devcontainers-problem --container-id 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895 --log-level debug --log-format json --config /work/vscode-remote-devcontainers-problem/.devcontainer/devcontainer.json --include-features-configuration --mount-workspace-git-root true
[23022 ms] remote-containers 0.251.0.
[23022 ms] Start: Run: docker inspect --type container 7d0bcb1930c853b314ac0b3ac6055466ee65038f1b30cc56427f8db2b2782895
[23045 ms] Start: Run in container: mkdir -p '/home/user/.vscode-server/data/Machine' && cat >'/home/user/.vscode-server/data/Machine/settings.json' <<'settingsJSON'
[23047 ms]
[23047 ms]
[23047 ms] Start: Run in container: test -d /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075
[23047 ms]
[23047 ms]
[23048 ms] Exit code 1
[23048 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/d045a5eda657f4d7b676dedbfa7aab8207f8a075
[23048 ms]
[23048 ms]
[23048 ms] Start: Run in container: mkdir -p '/home/user/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/d045a5eda657f4d7b676dedbfa7aab8207f8a075' '/home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075'
[23050 ms]
[23050 ms]
[23050 ms] Start: Run in container: /bin/sh
[23054 ms] Start: Launching Remote-Containers helper.
[23054 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/d045a5eda657f4d7b676dedbfa7aab8207f8a075'
[23054 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-f99896ad430d23604808bc95b1cfad0fd624f862.sock) forwarded to local host (/run/user/1000/keyring/ssh).
[23055 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[23059 ms] /run/user/1000/gnupg/S.gpg-agent.extra
[23059 ms]
[23059 ms] Start: Run in container: gpgconf --list-dir agent-socket
[23061 ms] /home/user/.gnupg/S.gpg-agent
[23061 ms]
[23061 ms] Start: Run in container: gpgconf --list-dir homedir
[23062 ms] /home/user/.gnupg
[23062 ms]
[23062 ms] Start: Run in container: ls '/home/user/.gnupg/private-keys-v1.d' 2>/dev/null
[23064 ms]
[23064 ms]
[23064 ms] Exit code 2
[23064 ms] Start: Run in container: mkdir -p -m 700 '/home/user/.gnupg'
[23064 ms] Start: Run in container: /bin/sh
[23068 ms] userEnvProbe: interactiveShell
[23068 ms] Start: Run in container: echo ~
[23069 ms] userEnvProbe shell: /bin/bash
[23070 ms]
[23070 ms]
[23070 ms] Start: Run: gpgconf --list-dir homedir
[23079 ms] /home/rubensa/.gnupg
[23079 ms]
[23079 ms] Start: Run in container: gpgconf --list-dir homedir
[23110 ms] /home/user/.gnupg
[23110 ms]
[23110 ms] Start: Run in container: # Test for /home/user/.ssh/known_hosts and ssh
[23111 ms]
[23111 ms]
[23111 ms] Start: Run in container: # Test for /home/user/.gnupg/pubring.kbx and gpg
[23112 ms]
[23112 ms]
[23112 ms] Start: Run in container: # Copy /home/rubensa/.ssh/known_hosts to /home/user/.ssh/known_hosts
[23114 ms]
[23114 ms]
[23114 ms] Start: Run in container: # Copy /home/rubensa/.gnupg/pubring.kbx to /home/user/.gnupg/pubring.kbx
[23116 ms]
[23116 ms]
[23117 ms] Start: Run in container: # Test for /home/user/.gnupg/trustdb.gpg and gpg
[23118 ms]
[23118 ms]
[23118 ms] Start: Run in container: # Copy /home/rubensa/.gnupg/trustdb.gpg to /home/user/.gnupg/trustdb.gpg
[23119 ms]
[23119 ms]
[23120 ms] Start: Run: gpg-connect-agent updatestartuptty /bye
[23142 ms]
[23143 ms]
[23143 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node /tmp/vscode-remote-containers-f99896ad430d23604808bc95b1cfad0fd624f862.js $*; }; f' || true
[23157 ms]
[23158 ms]
[23161 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[23234 ms] /home/user
[23234 ms]
[23234 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-f99896ad430d23604808bc95b1cfad0fd624f862.js' >/tmp/vscode-remote-containers-f99896ad430d23604808bc95b1cfad0fd624f862.js
[23236 ms]
[23236 ms]
[23236 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-f99896ad430d23604808bc95b1cfad0fd624f862.js' >/tmp/vscode-remote-containers-server-f99896ad430d23604808bc95b1cfad0fd624f862.js_1666775213362
[23239 ms]
[23239 ms]
[23245 ms] Start: Run in container: cat '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075' 2>/dev/null || (umask 377 && echo '3e528672-724e-48ad-85f1-a505c9967980' >'/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075-9ec25b0e-f63f-4fba-af6f-a51f4bc1f8fd' && mv -n '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075-9ec25b0e-f63f-4fba-af6f-a51f4bc1f8fd' '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075' && rm -f '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075-9ec25b0e-f63f-4fba-af6f-a51f4bc1f8fd' && cat '/home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075')
[23248 ms] 3e528672-724e-48ad-85f1-a505c9967980
[23248 ms]
[23248 ms] Start: Starting VS Code Server
[23249 ms] Start: Preparing Extensions
[23249 ms] Start: Run in container: test ! -f '/home/user/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/home/user/.vscode-server/data/Machine' && { > '/home/user/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[23250 ms]
[23251 ms]
[23252 ms] Extensions cache, install extensions: None
[23252 ms] Start: Run in container: test -d /home/user/.vscode-server/extensionsCache && ls /home/user/.vscode-server/extensionsCache || true
[23253 ms]
[23253 ms]
[23253 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[23254 ms] 42crunch.vscode-openapi-4.12.0
42crunch.vscode-openapi-4.13.0
42crunch.vscode-openapi-4.14.1
amazonwebservices.aws-toolkit-vscode-1.51.0
amazonwebservices.aws-toolkit-vscode-1.52.0
angular.ng-template-14.2.0
bierner.github-markdown-preview-0.3.0
bierner.markdown-checkbox-0.3.2
bierner.markdown-checkbox-0.3.3
bierner.markdown-emoji-0.3.0
bierner.markdown-footnotes-0.0.7
bierner.markdown-mermaid-1.15.2
bierner.markdown-preview-github-styles-1.0.1
bierner.markdown-yaml-preamble-0.1.0
bung87.rails-0.17.8
bung87.vscode-gemfile-0.4.2
castwide.solargraph-0.23.0
castwide.solargraph-0.24.0
cweijan.vscode-database-client2-4.6.0
cweijan.vscode-database-client2-5.8.11
davidanson.vscode-markdownlint-0.48.1
dbaeumer.vscode-eslint-2.2.6
eamodio.gitlens-12.2.2
eamodio.gitlens-13.0.2
eamodio.gitlens-13.0.3
editorconfig.editorconfig-0.16.4
esbenp.prettier-vscode-9.9.0
firsttris.vscode-jest-runner-0.4.59
formulahendry.auto-close-tag-0.5.14
github.vscode-pull-request-github-0.50.0
github.vscode-pull-request-github-0.52.0
hediet.vscode-drawio-1.6.4
iliazeus.vscode-ansi-1.1.2
jock.svg-1.4.22
kaiwood.endwise-1.5.1
koichisasada.vscode-rdbg-0.0.11
matthewpi.caddyfile-support-0.2.1
mhutchie.git-graph-1.30.0
mikestead.dotenv-1.0.1
ms-azuretools.vscode-docker-1.22.1
ms-kubernetes-tools.vscode-kubernetes-tools-1.3.10
ms-vscode.vscode-typescript-tslint-plugin-1.3.4
nrwl.angular-console-17.23.3
sianglim.slim-0.1.2
stoplight.spectral-1.0.0
stoplight.spectral-1.1.0
valentjn.vscode-ltex-13.1.0
visualstudioexptteam.intellicode-api-usage-examples-0.2.6
visualstudioexptteam.vscodeintellicode-1.2.29
[23254 ms]
[23254 ms] Extensions cache, link in container: None
[23255 ms] Start: Run in container: /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/bin/code-server --log debug --force-disable-user-env --server-data-dir /home/user/.vscode-server --use-host-proxy --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /home/user/.vscode-server/data/Machine/.connection-token-d045a5eda657f4d7b676dedbfa7aab8207f8a075 --extensions-download-dir /home/user/.vscode-server/extensionsCache --start-server --disable-websocket-compression
[23362 ms] *
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[23366 ms] Server bound to 127.0.0.1:44417 (IPv4)
Extension host agent listening on 44417
[23367 ms] Start: Run in container: echo 44417 >'/home/user/.vscode-server/data/Machine/.devport-d045a5eda657f4d7b676dedbfa7aab8207f8a075'
[23368 ms]
[23368 ms]
[23368 ms] Port forwarding for container port 44417 starts listening on local port.
[23369 ms] Port forwarding local port 44417 to container port 44417
[23370 ms] Start: Run in container: # Test for /home/user/.gitconfig and git
[23371 ms]
[23372 ms]
[23372 ms] Start: Run in container: # Copy /home/rubensa/.gitconfig to /home/user/.gitconfig
[23374 ms]
[23374 ms]
[23374 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node /tmp/vscode-remote-containers-f99896ad430d23604808bc95b1cfad0fd624f862.js $*; }; f' || true
[23376 ms]
[23376 ms]
[23419 ms] userEnvProbe PATHs:
Probe: '/opt/rbenv/shims:/opt/rbenv/bin:/opt/gvm/bin:/opt/conda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/dotnet'
Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[23433 ms] Port forwarding connection from 50306 > 44417 > 44417 in the container.
[23433 ms] Start: Run in container: /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node -e
[23549 ms] [09:06:53] Extension host agent started.
[23603 ms] Port forwarding 50306 > 44417 > 44417 stderr: Connection established
[23622 ms] Port forwarding connection from 50324 > 44417 > 44417 in the container.
[23623 ms] Start: Run in container: /home/user/.vscode-server/bin/d045a5eda657f4d7b676dedbfa7aab8207f8a075/node -e
[23643 ms] [09:06:53] ComputeTargetPlatform: linux-x64
[23659 ms] [09:06:53] [127.0.0.1][d154b26e][ManagementConnection] New connection established.
[23767 ms] Port forwarding 50324 > 44417 > 44417 stderr: Connection established
[23940 ms] [09:06:54] [127.0.0.1][61427e1d][ExtensionHostConnection] New connection established.
[23975 ms] [09:06:54] [127.0.0.1][61427e1d][ExtensionHostConnection] <510> Launched Extension Host Process. |
@chrmarti I updated buildx to latest version but the result is the same. $ docker buildx version
github.com/docker/buildx v0.9.1 ed00243a0ce2a0aee75311b06e32d33b44729689 |
And (I'm not completely sure cause It was time ago) I think this are the commands I used to create the multiarch builder (in case it can help): docker buildx create --name multiarch --driver docker-container --use
docker buildx inspect --bootstrap |
Thanks @rubensa! Seeing it after updating to Docker Compose 2.12.0. This is basically moby/buildkit#2210 where the recommended way to handle it is by using an additional build context. Additional build contexts are not yet available for Docker Compose. We could avoid the need for the temporary image when there are no features configured in the devcontainer.json, but when there are features, we probably need the support for additional build contexts in Docker Compose to fix this. (Filed docker/compose#9961.) |
Thanks @chrmarti |
It's working for me as not currently using features (but I plan to use them in the near future). |
This happened to me when I accidentally deleted the Didn't realize which tmp directory I was deleting. Dev Containers stores a bunch of it's own stuff in |
I started getting this issue yesterday suddenly on Dev Containers: However, the advice below fixed it for me.
|
Compose |
any update on this one? |
Hi @chrmarti, what are some verification steps for this issue? |
Taking off verified for now because my test container never finished building. |
Steps to Reproduce:
The problem is with Dev Containers (ms-vscode-remote.remote-containers) 0.255.2
If I revert to 0.251.0 everything works as expected
NOTE: Might be related to #7300
The text was updated successfully, but these errors were encountered: