Skip to content
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

Home Directory appears after "Clone Repository in Container Volume..." #647

Open
schn4v1d opened this issue Sep 27, 2023 · 3 comments
Open
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@schn4v1d
Copy link

image

Everything seems to be working but after cloning this folder appears in /workspaces/utas-dev and I don't know what causes this.

This is my devcontainer.json:

{
    "name": "Utas PHP",
    "dockerComposeFile": "docker-compose.yml",
    "service": "app",
    "workspaceFolder": "/workspaces/utas-dev",
    "customizations": {
        "vscode": {
            "settings": {
                "php.suggest.basic": false
            },
            "extensions": [
                "zobo.php-intellisense"
            ]
        }
    },
    "portsAttributes": {
        "8000": {
            "label": "Application",
            "onAutoForward": "notify"
        },
        "8081": {
            "label": "Database",
            "onAutoForward": "notify"
        }
    },
    "postCreateCommand": "composer update"
}

with this docker-compose.yml:

version: "3"

services:
  app:
    build: .
    ports:
      - "8000:80"
    depends_on:
      - "mysql.80"

  mysql.80:
    image: "mysql/mysql-server:8.0"
    restart: unless-stopped
    volumes:
      - db-data:/var/lib/mysql
    environment:
      MYSQL_ROOT_PASSWORD: 'secret'
      MYSQL_DATABASE: v261
      MYSQL_USER: utas
      MYSQL_PASSWORD: utas
    ports:
      - "8081:3306"

volumes:
  db-data:

and this Dockerfile all in the .devcontainers folder:

FROM php:8.1-apache

RUN apt-get update && apt-get install -y \
    vim \
    libfreetype6-dev \
    libjpeg62-turbo-dev \
    libpng-dev \
    git \
    libzip-dev \
    unzip \
    && docker-php-ext-configure gd --with-freetype --with-jpeg \
    && docker-php-ext-install -j$(nproc) bcmath gd zip mysqli exif pdo pdo_mysql

COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

ENV APACHE_DOCUMENT_ROOT /workspaces/utas-dev

RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf
RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
RUN a2enmod rewrite

RUN useradd -ms /bin/bash utas

RUN mkdir -p $APACHE_DOCUMENT_ROOT
RUN chown -R utas:utas $APACHE_DOCUMENT_ROOT

Please help me in solving this as I am quite new to the whole dev containers world :)

@chrmarti
Copy link
Contributor

Please append the Dev Containers log from when this happens. (F1 > Dev Containers: Show Container Log)

This seems to come from docker build or docker buildx build. 🤔

@chrmarti chrmarti self-assigned this Sep 28, 2023
@chrmarti chrmarti added the info-needed Issue requires more information from poster label Sep 28, 2023
@schn4v1d
Copy link
Author

Thank you for having a look! Is this the right one?

[351 ms] Start: Run in host: test -x '/home/schnavid/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node'
[351 ms] 
[351 ms] 
[352 ms] Start: Run in host: test -f '/home/schnavid/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node_modules/node-pty/package.json'
[352 ms] 
[353 ms] 
[353 ms] Start: Run in host: test -f '/home/schnavid/.vscode-remote-containers/dist/vscode-remote-containers-server-0.309.0.js'
[354 ms] 
[354 ms] 
[356 ms] userEnvProbe: loginInteractiveShell (default)
[356 ms] userEnvProbe: not found in cache
[357 ms] userEnvProbe shell: /bin/bash
[460 ms] userEnvProbe PATHs:
Probe:     '/home/schnavid/.cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Program Files (x86)/VMware/VMware Player/bin/:/mnt/c/Program Files/Eclipse Adoptium/jdk-17.0.6.10-hotspot/bin:/mnt/c/VulkanSDK/1.3.224.1/Bin:/mnt/c/Python310/Scripts/:/mnt/c/Python310/:/mnt/c/carp/bin:/mnt/c/VulkanSDK/1.2.189.2/Bin:/mnt/c/Program Files/AdoptOpenJDK/jdk-11.0.10.9-hotspot/bin:/mnt/c/Perl64/bin:/mnt/c/Users/schnavid/AppData/Roaming/ActiveState/bin:/mnt/c/Python39/Scripts/:/mnt/c/Python39/:/mnt/c/Program Files (x86)/Razer/ChromaBroadcast/bin:/mnt/c/Program Files/Razer/ChromaBroadcast/bin:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Windows/system32/config/systemprofile/AppData/Local/Microsoft/WindowsApps:/mnt/c/ProgramData/chocolatey/bin:/mnt/c/Program Files/Git/cmd:/mnt/c/Program Files/PostgreSQL/13/bin:/mnt/c/Program Files/dotnet/:/mnt/c/Program Files/Microsoft SQL Server/130/Tools/Binn/:/mnt/c/Program Files/MiKTeX/miktex/bin/x64/:/mnt/c/flutter/bin:/mnt/c/context/tex/texmf-win64/bin:/mnt/c/nim/bin:/mnt/c/Users/schnavid/.nimble/bin:/mnt/c/Program Files/Gource/cmd:/mnt/c/Library/Developer/Platforms/Windows.platform/Developer/Library/XCTest-development/usr/bin:/mnt/c/Program Files (x86)/Microsoft Visual Studio/Shared/Python37_64:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/Program Files/Racket/:/mnt/c/Program Files/qemu:/mnt/c/SFML-2.5.1/bin:/mnt/c/SDL2-2.0.16/lib/x64:/mnt/c/SDL2-2.0.16/x86_64-w64-mingw32/bin:/mnt/c/build2/bin:/mnt/c/msys64/mingw64/bin:/mnt/c/Program Files/Pandoc/:/mnt/c/roswell:/mnt/c/Program Files/Chez Scheme 9.5.6/bin/ta6nt:/mnt/c/tools/chicken/bin:/mnt/c/tools/msys64/mingw64/bin:/mnt/c/php:/mnt/c/Program Files (x86)/Yarn/bin/:/mnt/c/ProgramData/ComposerSetup/bin:/mnt/c/Program Files/nodejs/:/mnt/c/Program Files/PuTTY/:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/Program Files (x86)/ZeroTier/One/:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0/:/mnt/c/WINDOWS/System32/OpenSSH/:/mnt/c/ccl/scripts:/mnt/c/Program Files (x86)/Steel Bank Common Lisp/:/mnt/c/glfw-3.3.5/lib-vc2022:/mnt/c/Program Files/sfdx/bin:/mnt/c/zig:/mnt/c/Program Files/CMake/bin:/Docker/host/bin:/mnt/c/Users/schnavid/scoop/shims:/mnt/c/Users/schnavid/AppData/Roaming/local/bin:/mnt/c/Users/schnavid/.elan/bin:/mnt/c/Users/schnavid/.cargo/bin:/mnt/c/Users/schnavid/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/schnavid/AppData/Local/Programs/Microsoft VS Code/bin:/mnt/c/Program Files/heroku/bin:/mnt/c/Users/schnavid/.dotnet/tools:/mnt/c/Users/schnavid/AppData/Local/Yarn/bin:/mnt/c/Users/schnavid/AppData/Local/Yarn/Data/global/node_modules/.bin:/mnt/c/nim/bin:/mnt/c/Users/schnavid/.nimble/bin:/mnt/c/Users/schnavid/bin:/mnt/c/Users/schnavid/miniconda3/condabin:/mnt/c/Users/schnavid/kotlin-native-windows-1.5.0/bin:/mnt/c/Users/schnavid/.konan/dependencies/msys2-mingw-w64-x86_64-clang-llvm-lld-compiler_rt-8.0.1/bin:/mnt/c/Users/schnavid/AppData/Local/Programs/MiKTeX/miktex/bin/x64/:/mnt/c/Users/schnavid/.emacs.d/bin:/mnt/c/tools/neovim/Neovim/bin:/mnt/c/Users/schnavid/AppData/Local/atom/bin:/mnt/c/tools/neovim/.idris2/bin:/mnt/c/Users/schnavid/AppData/Local/Programs/Mic:/mnt/c/Users/schnavid/AppData/Roaming/Composer/vendor/bin:/mnt/c/Users/schnavid/AppData/Roaming/npm:/mnt/c/Users/schnavid/AppData/Local/JetBrains/Toolbox/scripts:/mnt/c/Users/schnavid/vcpkg:/mnt/c/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin:/mnt/c/Users/schnavid/.dotnet/tools:/mnt/c/Users/schnavid/buildtools/bazel-bin/buildifier/buildifier_:/mnt/c/Users/schnavid/lein_bin:/mnt/c/Users/schnavid/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/Neovim/bin:/snap/bin'
Container: None
[466 ms] Start: Run in Host: wslpath -w /run/user/1000/wayland-0
[470 ms] Start: Check Docker is running
[470 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[653 ms] Server API version: 1.43
[654 ms] Start: Run: docker volume ls -q
[824 ms] Start: Run: docker volume create --label vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --label vsch.local.repository.unique=true --label vsch.local.repository.branch=main utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45
[997 ms] Start: Run: docker build -f C:\Users\schnavid\AppData\Local\Temp\vsch\bootstrap-image\0.309.0\bootstrap.Dockerfile -t vsc-volume-bootstrap C:\Users\schnavid\AppData\Local\Temp\vsch\bootstrap-image\0.309.0

[+] Building 0.2s (10/10) FINISHED                               docker:default
 => [internal] load build definition from bootstrap.Dockerfile             0.0s
 => => transferring dockerfile: 570B                                       0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for mcr.microsoft.com/devcontainers/base:0-a  0.1s
 => [1/5] FROM mcr.microsoft.com/devcontainers/base:0-alpine-3.16@sha256:  0.0s
 => [internal] load build context                                          0.0s
 => => transferring context: 1.88kB                                        0.0s
 => CACHED [2/5] RUN echo "@old https://dl-cdn.alpinelinux.org/alpine/v3.  0.0s
 => CACHED [3/5] RUN apk add --no-cache  git-lfs  nodejs  python3  npm  m  0.0s
 => CACHED [4/5] RUN cd && npm i node-pty                                  0.0s
 => CACHED [5/5] COPY .vscode-remote-containers /root/.vscode-remote-cont  0.0s
 => exporting to image                                                     0.0s
 => => exporting layers                                                    0.0s
 => => writing image sha256:88b954fd74d6f9c45ac776ab4e890cf5a3cc50e6717d3  0.0s
 => => naming to docker.io/library/vsc-volume-bootstrap                    0.0s

What's Next?
  View a summary of image vulnerabilities and recommendations → docker scout qui
ckview
[2226 ms] Cloning Github repository: bitbrewgmbh/utas-dev into /workspaces/utas-dev

[2226 ms] Start: Run: docker run -d --mount type=volume,src=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45,dst=/workspaces -v /var/run/docker.sock:/var/run/docker.sock vsc-volume-bootstrap sleep infinity
[2695 ms] Start: Run in container: /bin/sh
[2771 ms] Start: Launching Dev Containers helper.
[2771 ms] ssh-agent: SSH_AUTH_SOCK not set on local host.
[2772 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-7629344e-039e-4fbf-a8ec-bff386798352.sock) forwarded to local host (\\.\pipe\openssh-ssh-agent).
[2772 ms] X11 forwarding: DISPLAY not set on local host.
[2772 ms] Start: Run in container: test -e /tmp/.X11-unix/X0
[2937 ms] 
[2938 ms] 
[2938 ms] Exit code 1
[2938 ms] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[2941 ms] 
[2941 ms] 
[2941 ms] X11 forwarding: DISPLAY in container (:0) forwarded to wsl host (:0).
[2942 ms] Start: Run in container: gpgconf --list-dir agent-socket
[2944 ms] /root/.gnupg/S.gpg-agent
[2945 ms] 
[2945 ms] Start: Run in container: gpgconf --list-dir homedir
[2947 ms] /root/.gnupg
[2947 ms] 
[2947 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[2950 ms] 
[2950 ms] 
[2950 ms] Exit code 2
[2950 ms] Start: Run: gpgconf --list-dir agent-extra-socket
[3053 ms] gpg-agent: No agent-extra-socket found on local host.
[3053 ms] Start: Run in Host: gpgconf --list-dir agent-extra-socket
[3057 ms] /run/user/1000/gnupg/S.gpg-agent.extra
[3057 ms] 
[3057 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg'
[3057 ms] gpg-agent: Socket in container (/root/.gnupg/S.gpg-agent) forwarded to wsl host (/run/user/1000/gnupg/S.gpg-agent.extra).
[3059 ms] 
[3060 ms] 
[3060 ms] Start: Run in container: command -v docker >/dev/null 2>&1
[3060 ms] Start: Run in Host: gpgconf --list-dir homedir
[3062 ms] 
[3062 ms] 
[3062 ms] Start: Run in container: /bin/sh
[3065 ms] /home/schnavid/.gnupg
[3065 ms] 
[3065 ms] Start: Run in container: gpgconf --list-dir homedir
[3067 ms] /root/.gnupg
[3067 ms] 
[3070 ms] Start: Run in container: # Test for /root/.gnupg/pubring.kbx and gpg
[3072 ms] 
[3072 ms] 
[3072 ms] Start: Run in container: # Copy /home/schnavid/.gnupg/pubring.kbx to /root/.gnupg/pubring.kbx
[3075 ms] 
[3075 ms] 
[3082 ms] Start: Run in container: # Test for /root/.gnupg/trustdb.gpg and gpg
[3084 ms] 
[3084 ms] 
[3084 ms] Start: Run in container: # Copy /home/schnavid/.gnupg/trustdb.gpg to /root/.gnupg/trustdb.gpg
[3087 ms] 
[3087 ms] 
[3087 ms] Start: Run in Host: gpg-connect-agent updatestartuptty /bye
[3138 ms] Start: Run in container: echo ~
[3287 ms] /root
[3287 ms] 
[3287 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-7629344e-039e-4fbf-a8ec-bff386798352.js' >/tmp/vscode-remote-containers-7629344e-039e-4fbf-a8ec-bff386798352.js
[3289 ms] 
[3289 ms] 
[3290 ms] Start: Run in container: cat ~/.docker/config.json || echo "{
[3292 ms] {
}
[3292 ms] cat: /root/.docker/config.json: No such file or directory
[3292 ms] Start: Run in container: mkdir -p /usr/local/bin && cat <<'EOF-/usr/local/bin/docker-credential-dev-containers-7629344e-039e-4fbf-a8ec-bff386798352' >/usr/local/bin/docker-credential-dev-containers-7629344e-039e-4fbf-a8ec-bff386798352
[3296 ms] 
[3296 ms] 
[3297 ms] Start: Run in container: chmod +x /usr/local/bin/docker-credential-dev-containers-7629344e-039e-4fbf-a8ec-bff386798352
[3298 ms] 
[3299 ms] 
[3299 ms] Start: Run in container: mkdir -p ~/.docker && cat <<'EOF-/usr/local/bin/docker-credential-dev-containers-7629344e-039e-4fbf-a8ec-bff386798352' >~/.docker/config.json
[3302 ms] 
[3302 ms] 
[3302 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-7629344e-039e-4fbf-a8ec-bff386798352.js' >/tmp/vscode-remote-containers-server-7629344e-039e-4fbf-a8ec-bff386798352.js_1695895934687
[3306 ms] 
[3306 ms] 
[3307 ms] Start: Run in container: # Test for /root/.gitconfig and git
[3309 ms] 
[3309 ms] 
[3310 ms] Start: Run in container: # Copy C:\Users\schnavid\.gitconfig to /root/.gitconfig
[3313 ms] 
[3313 ms] 
[3314 ms] Start: Run in container: # Cleaning up git config
[3318 ms] 
[3318 ms] 
[3318 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { node /tmp/vscode-remote-containers-7629344e-039e-4fbf-a8ec-bff386798352.js git-credential-helper $*; }; f' || true
[3320 ms] 
[3320 ms] 
[3321 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[3323 ms] 
[3324 ms] 
[3324 ms] Start: Run in container: # Copy C:\Users\schnavid\.ssh\known_hosts to /root/.ssh/known_hosts
[3327 ms] 
[3327 ms] 
[3384 ms] Start: Run in container: git clone --depth 1 --branch main https://github.com/bitbrewgmbh/utas-dev.git .
Cloning into '.'...
remote: Enumerating objects: 1104, done.
remote: Counting objects: 100% (1104/1104), done.
remote: Compressing objects: 100% (997/997), done.
remote: Total 1104 (delta 113), reused 833 (delta 83), pack-reused 0
Receiving objects: 100% (1104/1104), 12.11 MiB | 7.19 MiB/s, done.
Resolving deltas: 100% (113/113), done.
[7500 ms] Start: Run in container: cat /workspaces/utas-dev/.devcontainer/devcontainer.json 2>/dev/null
[7503 ms] Start: Run in container: cat /workspaces/utas-dev/.devcontainer/devcontainer.json 2>/dev/null
[7506 ms] The options 'workspaceMount' or 'workspaceFolder' are ignored when cloning a repository into a volume.
[7506 ms] Start: Run in container: test -e "C:\Users\schnavid" || (mkdir -p "$(dirname "C:\Users\schnavid")" && ln -s ~ "C:\Users\schnavid")
[7509 ms] 
[7509 ms] 
[7510 ms] Start: Run in container: cat <<'EOF-/tmp/devcontainer-c72cb216-2f15-4053-9fd2-c7956b263600.json' >/tmp/devcontainer-c72cb216-2f15-4053-9fd2-c7956b263600.json_1695895938895
[7513 ms] 
[7514 ms] 
[7514 ms] Start: Run in container: docker volume ls -q
[7828 ms] Start: Run in container: docker volume create vscode
[8552 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --filter label=vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --filter label=vsch.local.repository.folder=utas-dev --filter label=vsch.quality=stable
[8816 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --filter label=vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --filter label=vsch.local.repository.folder=utas-dev --filter label=devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json
[9095 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --filter label=vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --filter label=vsch.local.repository.folder=utas-dev
[9389 ms] Start: Run in container: docker ps -q -a --filter label=vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --filter label=vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --filter label=vsch.local.repository.folder=utas-dev
[10178 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /workspaces/utas-dev --id-label vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --id-label vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --id-label vsch.local.repository.folder=utas-dev --id-label devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json --log-level debug --log-format json --config /workspaces/utas-dev/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-c72cb216-2f15-4053-9fd2-c7956b263600.json --mount-workspace-git-root true
[10646 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.90.1-microsoft-standard-WSL2 x64.
[10646 ms] Start: Run: docker ps -q -a --filter label=vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --filter label=vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --filter label=vsch.local.repository.folder=utas-dev --filter label=devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json
[10799 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885 --workspace-folder /workspaces/utas-dev --workspace-mount-consistency cached --id-label vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --id-label vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --id-label vsch.local.repository.folder=utas-dev --id-label devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json --log-level debug --log-format json --config /workspaces/utas-dev/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-c72cb216-2f15-4053-9fd2-c7956b263600.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45,target=/workspaces,external=true --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=\\wsl.localhost\Ubuntu-22.04\run\user\1000\wayland-0,target=/tmp/vscode-wayland-4241ccc0-7dc9-41ac-85bd-a19c80e5fa79.sock --skip-post-create --update-remote-user-uid-default off --mount-workspace-git-root true --terminal-columns 106 --terminal-rows 12
[11297 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.90.1-microsoft-standard-WSL2 x64.
[11297 ms] Start: Run: docker buildx version
[11356 ms] github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491
[11356 ms] 
[11356 ms] Start: Resolving Remote
[11509 ms] Start: Run: docker-compose version --short
[11514 ms] Start: Run: docker compose version --short
[11569 ms] Docker Compose version: 2.12.2
[11570 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=utas-dev_devcontainer --filter label=com.docker.compose.service=app
[11591 ms] Start: Run: docker compose -f /workspaces/utas-dev/.devcontainer/docker-compose.yml --profile * config
[11648 ms] name: devcontainer
services:
  app:
    build:
      context: /workspaces/utas-dev/.devcontainer
      dockerfile: Dockerfile
    depends_on:
      mysql.80:
        condition: service_started
    networks:
      default: null
    ports:
    - mode: ingress
      target: 80
      published: "8000"
      protocol: tcp
  mysql.80:
    environment:
      MYSQL_DATABASE: v261
      MYSQL_PASSWORD: utas
      MYSQL_ROOT_PASSWORD: secret
      MYSQL_USER: utas
    image: mysql/mysql-server:8.0
    networks:
      default: null
    ports:
    - mode: ingress
      target: 3306
      published: "8081"
      protocol: tcp
    restart: unless-stopped
    volumes:
    - type: volume
      source: db-data
      target: /var/lib/mysql
      volume: {}
networks:
  default:
    name: devcontainer_default
volumes:
  db-data:
    name: devcontainer_db-data
[11652 ms] Start: Run: docker -v
[11671 ms] Start: Run: docker events --format {{json .}} --filter event=start
[11674 ms] PersistedPath=/tmp/devcontainercli-root, ContainerHasLabels=false
[11675 ms] Start: Run: docker compose -f /workspaces/utas-dev/.devcontainer/docker-compose.yml --profile * config
[11736 ms] name: devcontainer
services:
  app:
    build:
      context: /workspaces/utas-dev/.devcontainer
      dockerfile: Dockerfile
    depends_on:
      mysql.80:
        condition: service_started
    networks:
      default: null
    ports:
    - mode: ingress
      target: 80
      published: "8000"
      protocol: tcp
  mysql.80:
    environment:
      MYSQL_DATABASE: v261
      MYSQL_PASSWORD: utas
      MYSQL_ROOT_PASSWORD: secret
      MYSQL_USER: utas
    image: mysql/mysql-server:8.0
    networks:
      default: null
    ports:
    - mode: ingress
      target: 3306
      published: "8081"
      protocol: tcp
    restart: unless-stopped
    volumes:
    - type: volume
      source: db-data
      target: /var/lib/mysql
      volume: {}
networks:
  default:
    name: devcontainer_default
volumes:
  db-data:
    name: devcontainer_db-data
[11739 ms] Start: Run: docker inspect --type image php:8.1-apache
[12124 ms] Start: Run: docker-credential-secret get
[13414 ms] local container features stored at: /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/node_modules/vscode-dev-containers/container-features
[13416 ms] Start: Run: tar --no-same-owner -x -f -
[13434 ms] Docker Compose override file for building image:
version: "3"

services:
  app:
    build:
      dockerfile: /tmp/devcontainercli-root/container-features/0.51.1-1695895944798/Dockerfile-with-features
      args:
        - BUILDKIT_INLINE_CACHE=1
        - _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label

[13435 ms] Start: Run: docker compose --project-name utas-dev_devcontainer -f /workspaces/utas-dev/.devcontainer/docker-compose.yml -f /tmp/devcontainercli-root/docker-compose/docker-compose.devcontainer.build-1695895944819.yml build
[+] Building 1.5s (15/15) FINISHED                                                                        
 => [internal] load build definition from Dockerfile-with-features                                   0.0s
 => => transferring dockerfile: 1.31kB                                                               0.0s
 => [internal] load .dockerignore                                                                    0.0s
 => => transferring context: 2B                                                                      0.0s
 => [internal] load metadata for docker.io/library/composer:latest                                   1.4s
 => [internal] load metadata for docker.io/library/php:8.1-apache                                    1.4s
 => [dev_container_auto_added_stage_label 1/8] FROM docker.io/library/php:8.1-apache@sha256:8b95660  0.0s
 => FROM docker.io/library/composer:latest@sha256:1ac7a547cb88acb0de62663b70f2b3d80ad27355288245159  0.0s
 => CACHED [dev_container_auto_added_stage_label 2/8] RUN apt-get update && apt-get install -y       0.0s
 => CACHED [dev_container_auto_added_stage_label 3/8] COPY --from=composer:latest /usr/bin/composer  0.0s
 => CACHED [dev_container_auto_added_stage_label 4/8] RUN sed -ri -e 's!/var/www/html!${APACHE_DOCU  0.0s
 => CACHED [dev_container_auto_added_stage_label 5/8] RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT  0.0s
 => CACHED [dev_container_auto_added_stage_label 6/8] RUN a2enmod rewrite                            0.0s
 => CACHED [dev_container_auto_added_stage_label 7/8] RUN mkdir -p /workspaces/utas-dev              0.0s
 => CACHED [dev_container_auto_added_stage_label 8/8] RUN chown -R www-data:www-data /workspaces/ut  0.0s
 => preparing layers for inline cache                                                                0.0s
 => exporting to image                                                                               0.0s
 => => exporting layers                                                                              0.0s
 => => writing image sha256:b5d88a09b78c90981396f47da6fcaeab77bd7336f207100f2b3dfe8949f44795         0.0s
 => => naming to docker.io/library/utas-dev_devcontainer-app                                         0.0s
[15117 ms] Start: Run: docker inspect --type image utas-dev_devcontainer-app
[15138 ms] Docker Compose override file for creating container:
version: "3"

services:
  'app':
    entrypoint: ["/bin/sh", "-c", "echo Container started\n
trap \"exit 0\" 15\n
\n
exec \"$$@\"\n
while sleep 1 & wait $$!; do :; done", "-", "docker-php-entrypoint"]
    command: ["apache2-foreground"]
    labels:
      - 'vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main'
      - 'vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45'
      - 'vsch.local.repository.folder=utas-dev'
      - 'devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json'
    volumes:
      - utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45:/workspaces
      - vscode:/vscode
      - \\wsl.localhost\Ubuntu-22.04\run\user\1000\wayland-0:/tmp/vscode-wayland-4241ccc0-7dc9-41ac-85bd-a19c80e5fa79.sock
volumes:
  
  utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45:
    external: true
  
  vscode:
    external: true
[15138 ms] Writing docker-compose.devcontainer.containerFeatures-1695895946523.yml to /tmp/devcontainercli-root/docker-compose
[15139 ms] Start: Run: docker compose --project-name utas-dev_devcontainer -f /workspaces/utas-dev/.devcontainer/docker-compose.yml -f /tmp/devcontainercli-root/docker-compose/docker-compose.devcontainer.build-1695895944819.yml -f /tmp/devcontainercli-root/docker-compose/docker-compose.devcontainer.containerFeatures-1695895946523.yml up -d
[+] Running 4/4
 ⠿ Network utas-dev_devcontainer_default       Created                                               0.0s
 ⠿ Volume "utas-dev_devcontainer_db-data"      Created                                               0.0s
 ⠿ Container utas-dev_devcontainer-mysql.80-1  Start...                                              0.9s
 ⠿ Container utas-dev_devcontainer-app-1       Started                                               0.9s
[16546 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=utas-dev_devcontainer --filter label=com.docker.compose.service=app
[16576 ms] Start: Run: docker inspect --type container bf9a1c52ab42
[16603 ms] Start: Inspecting container
[16603 ms] Start: Run: docker inspect --type container bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024
[16631 ms] Start: Run in container: /bin/sh
[16634 ms] Start: Run in container: uname -m
[16768 ms] x86_64
[16768 ms] 
[16768 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[16770 ms] PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[16770 ms] 
[16771 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[16774 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[16775 ms] 
[16775 ms] 
[16775 ms] Exit code 1
[16776 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[16779 ms] 
[16779 ms] 
[16780 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[16783 ms] 
[16783 ms] 
[16783 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[16785 ms] 
[16785 ms] 
[16785 ms] Exit code 1
[16785 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[16787 ms] 
[16787 ms] 
[16787 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[16790 ms] 
[16790 ms] 
[16818 ms] Start: Run: docker inspect --type container bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024
[17032 ms] Start: Run: docker exec -i -u root bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024 /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885 ; /bin/sh
[17034 ms] Start: Run in container: docker-compose version --short
[17337 ms] New container started. Keep-alive process started.
[17630 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /workspaces/utas-dev --id-label vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --id-label vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --id-label vsch.local.repository.folder=utas-dev --id-label devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json --container-id bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024 --log-level debug --log-format json --config /workspaces/utas-dev/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-c72cb216-2f15-4053-9fd2-c7956b263600.json --include-merged-configuration --mount-workspace-git-root true
[18078 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.90.1-microsoft-standard-WSL2 x64.
[18078 ms] Start: Run: docker inspect --type container bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024
[18124 ms] Start: Inspecting container
[18124 ms] Start: Run: docker inspect --type container bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024
[7500 ms] Start: Run in container: git config remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
[7886 ms] Start: Run in container: git fetch --unshallow --tags
remote: Enumerating objects: 7129, done.
remote: Counting objects: 100% (7129/7129), done.
remote: Compressing objects: 100% (2418/2418), done.
remote: Total 6726 (delta 4607), reused 6096 (delta 3985), pack-reused 0
Receiving objects: 100% (6726/6726), 55.35 MiB | 7.45 MiB/s, done.
Resolving deltas: 100% (4607/4607), completed with 278 local objects.
From https://github.com/bitbrewgmbh/utas-dev
 * [new branch]      dev-container -> origin/dev-container
[18294 ms] Start: Run in container: /bin/sh
[18365 ms] Start: Run in container: uname -m
[18547 ms] x86_64
[18547 ms] 
[18548 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[18550 ms] PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[18550 ms] 
[18550 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[18552 ms] Start: Updating configuration state
[19143 ms] Start: Run: docker-compose version --short
[19593 ms] Start: Setup shutdown monitor
[19594 ms] Forking shutdown monitor: c:\Users\schnavid\.vscode\extensions\ms-vscode-remote.remote-containers-0.309.0\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-05748ced-ca77-46bf-b365-5841d07742cc-sock dockerCompose Debug c:\Users\schnavid\AppData\Roaming\Code\logs\20230928T113739\window1\exthost\ms-vscode-remote.remote-containers 1695895931385
[19604 ms] Start: Run in container: test -d /root/.vscode-server
[19606 ms] 
[19606 ms] 
[19606 ms] Exit code 1
[19606 ms] Start: Run in container: test -d /root/.vscode-remote
[19608 ms] 
[19608 ms] 
[19608 ms] Exit code 1
[19608 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[19612 ms] 
[19612 ms] 
[19612 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && cat >'/root/.vscode-server/data/Machine/settings.json' <<'settingsJSON'
[19615 ms] 
[19615 ms] 
[19615 ms] Start: Run in container: test -d /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
[19617 ms] 
[19617 ms] 
[19617 ms] Exit code 1
[19617 ms] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
[19619 ms] 
[19619 ms] 
[19619 ms] Exit code 1
[19619 ms] Installing VS Code Server for commit abd2f3db4bdb28f9e95536dfa84d8479f1eb312d
[19621 ms] Start: Installing VS Code Server
[19621 ms] Start: Run in container: mkdir -p /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d_1695895951006
[19623 ms] 
[19624 ms] 
[19761 ms] Start: Run in container: (dd iflag=fullblock bs=8192 count=6267 2>/dev/null; dd iflag=fullblock bs=7415 count=1 2>/dev/null) | tar --no-same-owner -xz -C /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d_1695895951006
[20822 ms] 
[20823 ms] 
[20823 ms] Start: Run in container: mv -n /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d_1695895951006/* /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d && rmdir /vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d_1695895951006
[20828 ms] 
[20829 ms] 
[20829 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' '/root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d'
[20835 ms] 
[20835 ms] 
[20835 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' && cd '/vscode/vscode-server/bin/linux-x64' && ls -td *[^_]????????????? | tail -n +10 | xargs rm -rf
[20835 ms] Start: Launching Dev Containers helper.
[20835 ms] ssh-agent: SSH_AUTH_SOCK not set on local host.
[20835 ms] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-b94ace60-451d-4044-a2e0-35760b5736f4.sock) forwarded to local host (\\.\pipe\openssh-ssh-agent).
[20835 ms] X11 forwarding: DISPLAY not set on local host.
[20838 ms] 
[20839 ms] ls: cannot access '*[^_]?????????????': No such file or directory
[20839 ms] Start: Run in container: test -e /tmp/.X11-unix/X0
[20840 ms] 
[20840 ms] 
[20840 ms] Exit code 1
[20840 ms] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[20842 ms] 
[20842 ms] 
[20843 ms] X11 forwarding: DISPLAY in container (:0) forwarded to wsl host (:0).
[20843 ms] Start: Run in container: gpgconf --list-dir agent-socket
[20845 ms] 
[20845 ms] /bin/sh: 32: gpgconf: not found
[20845 ms] Exit code 127
[20845 ms] gpg-agent: No agent-socket found in container.
[20846 ms] Start: Run in container: command -v docker >/dev/null 2>&1
[20848 ms] 
[20848 ms] 
[20848 ms] Exit code 127
[20848 ms] Start: Run in container: /bin/sh
[20849 ms] userEnvProbe: loginInteractiveShell (default)
[20849 ms] Start: Run in container: test -f '/tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885/env-loginInteractiveShell.json'
[20851 ms] 
[20851 ms] 
[20851 ms] Exit code 1
[20851 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[20851 ms] userEnvProbe: not found in cache
[20851 ms] userEnvProbe shell: /bin/bash
[20854 ms] 
[20854 ms] 
[20854 ms] Start: Run in container: # Copy C:\Users\schnavid\.ssh\known_hosts to /root/.ssh/known_hosts
[20856 ms] 
[20856 ms] 
[20857 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node /tmp/vscode-remote-containers-b94ace60-451d-4044-a2e0-35760b5736f4.js git-credential-helper $*; }; f' || true
[20860 ms] 
[20860 ms] 
[20860 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
[20896 ms] Start: Run in container: cat '/root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/product.json'
[20899 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' 2>/dev/null || (umask 377 && echo 'a7cc8d28-5431-4a0e-959c-e985285a1403' >'/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d-96828944-465a-4d32-af85-7e7340e02727' && mv -n '/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d-96828944-465a-4d32-af85-7e7340e02727' '/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d' && rm -f '/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d-96828944-465a-4d32-af85-7e7340e02727' && cat '/root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d')
[20903 ms] a7cc8d28-5431-4a0e-959c-e985285a1403
[20903 ms] 
[20903 ms] Start: Starting VS Code Server
[20903 ms] Start: Preparing Extensions
[20903 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[20906 ms] 
[20906 ms] 
[20907 ms] Extensions cache, install extensions: zobo.php-intellisense
[20907 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true
[20909 ms] 
[20909 ms] 
[20909 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[20911 ms] 
[20911 ms] 
[20912 ms] Extensions cache, link in container: None
[20912 ms] Optimizing extensions for quality: stable
[20913 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/bin/code-server --log debug --force-disable-user-env --server-data-dir /root/.vscode-server --use-host-proxy --telemetry-level all --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension zobo.php-intellisense --start-server --disable-websocket-compression
[20949 ms] Start: Run in container: echo ~
[21306 ms] /root
[21306 ms] 
[21306 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-b94ace60-451d-4044-a2e0-35760b5736f4.js' >/tmp/vscode-remote-containers-b94ace60-451d-4044-a2e0-35760b5736f4.js
[21308 ms] 
[21308 ms] 
[21309 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-b94ace60-451d-4044-a2e0-35760b5736f4.js' >/tmp/vscode-remote-containers-server-b94ace60-451d-4044-a2e0-35760b5736f4.js_1695895952694
[21313 ms] 
[21314 ms] 
[21360 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).
*
[21365 ms] Server bound to 127.0.0.1:46335 (IPv4)
Extension host agent listening on 46335

[21366 ms] Start: Run in container: echo 46335 >'/root/.vscode-server/data/Machine/.devport-abd2f3db4bdb28f9e95536dfa84d8479f1eb312d'
[21367 ms] 
[21367 ms] 
[21368 ms] Port forwarding for container port 46335 starts listening on local port.
[21369 ms] Port forwarding local port 46335 to container port 46335
[21369 ms] Start: Run in container: node /root/.vscode-remote-containers/dist/dev-containers-cli-0.309.0/dist/spec-node/devContainersSpecCLI.js run-user-commands --container-session-data-folder /tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885 --workspace-folder /workspaces/utas-dev --id-label vsch.local.repository=https://github.com/bitbrewgmbh/utas-dev.git/tree/main --id-label vsch.local.repository.volume=utas-dev-main-b5b5eb121e2667c9ca531121937e9df8b3a9b6cb532678d778f8cdf3b06b4d45 --id-label vsch.local.repository.folder=utas-dev --id-label devcontainer.config_file=/workspaces/utas-dev/.devcontainer/devcontainer.json --container-id bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024 --log-level debug --log-format json --config /workspaces/utas-dev/.devcontainer/devcontainer.json --override-config /tmp/devcontainer-c72cb216-2f15-4053-9fd2-c7956b263600.json --default-user-env-probe loginInteractiveShell --skip-non-blocking-commands false --prebuild false --stop-for-personalization true --remote-env REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-b94ace60-451d-4044-a2e0-35760b5736f4.sock --remote-env SSH_AUTH_SOCK=/tmp/vscode-ssh-auth-b94ace60-451d-4044-a2e0-35760b5736f4.sock --remote-env DISPLAY=:0 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X0 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root true --terminal-columns 106 --terminal-rows 12 --dotfiles-target-path ~/dotfiles
[21370 ms] userEnvProbe PATHs:
Probe:     '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[21370 ms] Start: Run in container: mkdir -p '/tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885' && cat > '/tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885/env-loginInteractiveShell.json' << 'envJSON'
[21373 ms] 
[21373 ms] 
[21373 ms] Start: Run in container: umask 077 && XRD="/tmp/user/$(id -u)" && mkdir -p $XRD && echo $XRD
[21377 ms] /tmp/user/0
[21377 ms] 
[21377 ms] Start: Run in container: test -e /tmp/user/0/vscode-wayland-4241ccc0-7dc9-41ac-85bd-a19c80e5fa79.sock || ln -sf /tmp/vscode-wayland-4241ccc0-7dc9-41ac-85bd-a19c80e5fa79.sock /tmp/user/0/vscode-wayland-4241ccc0-7dc9-41ac-85bd-a19c80e5fa79.sock
[21380 ms] 
[21380 ms] 
[21386 ms] Port forwarding connection from 58608 > 46335 > 46335 in the container.
[21387 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e 
[21486 ms] [10:12:32] 




[21535 ms] [10:12:32] Installing extensions...
[21539 ms] [10:12:32] Extension host agent started.
[21605 ms] [10:12:32] Started initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
[21609 ms] [10:12:32] ComputeTargetPlatform: linux-x64
[21620 ms] [10:12:33] Completed initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
[21625 ms] [10:12:33] ComputeTargetPlatform: linux-x64
[21786 ms] Port forwarding 58608 > 46335 > 46335 stderr: Connection established
[21800 ms] [10:12:33] [127.0.0.1][8b942aad][ManagementConnection] New connection established.
[21801 ms] Port forwarding connection from 58613 > 46335 > 46335 in the container.
[21801 ms] Start: Run in container: /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node -e 
[21812 ms] [10:12:33] Log level changed to info
[22008 ms] @devcontainers/cli 0.51.1. Node.js v16.20.1. linux 5.15.90.1-microsoft-standard-WSL2 x64.
[22008 ms] Start: Run: docker buildx version
[22169 ms] Port forwarding 58613 > 46335 > 46335 stderr: Connection established
[22187 ms] github.com/docker/buildx v0.8.2 6224def4dd2c3d347eee19db595348c50d7cb491
[22188 ms] 
[22195 ms] Start: Run: docker inspect --type container bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024
[22235 ms] [10:12:33] Installing extension 'zobo.php-intellisense'...
[22235 ms] Start: Inspecting container
[22235 ms] Start: Run: docker inspect --type container bf9a1c52ab42c9da79ad909774967f43e86e87769791d448bb4501b08306d024
[22238 ms] [10:12:33] Getting Manifest... zobo.php-intellisense
[22266 ms] Start: Run in container: /bin/sh
[22269 ms] Start: Run in container: uname -m
[22317 ms] [10:12:33] [127.0.0.1][c0e8993a][ExtensionHostConnection] New connection established.
[22326 ms] [10:12:33] [127.0.0.1][c0e8993a][ExtensionHostConnection] <310> Launched Extension Host Process.
[22452 ms] x86_64
[22452 ms] 
[22452 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[22455 ms] PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
[22455 ms] 
[22456 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[22457 ms] [10:12:33] Installing extension: zobo.php-intellisense
[22461 ms] userEnvProbe: loginInteractiveShell (default)
[22462 ms] Start: Run in container: test -f '/tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885/env-loginInteractiveShell.json'
[22466 ms] 
[22466 ms] 
[22467 ms] Start: Run in container: mkdir -p '/root/.devcontainer' && CONTENT="$(cat '/root/.devcontainer/.onCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-09-28T10:12:27.034854245Z}" != '2023-09-28T10:12:27.034854245Z' ] && echo '2023-09-28T10:12:27.034854245Z' > '/root/.devcontainer/.onCreateCommandMarker'
[22472 ms] 
[22473 ms] 
[22473 ms] Start: Run in container: cat '/tmp/devcontainers-63c96b5d-8212-4632-a1cd-9e08eda555f51695895930885/env-loginInteractiveShell.json'
[22476 ms] {
        "HOSTNAME": "bf9a1c52ab42",
        "PHP_VERSION": "8.1.23",
        "APACHE_CONFDIR": "/etc/apache2",
        "PHP_INI_DIR": "/usr/local/etc/php",
        "GPG_KEYS": "528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD",
        "REMOTE_CONTAINERS_IPC": "/tmp/vscode-remote-containers-ipc-b94ace60-451d-4044-a2e0-35760b5736f4.sock",
        "PHP_LDFLAGS": "-Wl,-O1 -pie",
        "APACHE_DOCUMENT_ROOT": "/workspaces/utas-dev",
        "HOME": "/root",
        "PHP_SHA256": "fc48422fa7e75bb45916fc192a9f9728cb38bb2b5858572c51ea15825326360c",
        "PHPIZE_DEPS": "autoconf \t\tdpkg-dev \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkg-config \t\tre2c",
        "REMOTE_CONTAINERS_SOCKETS": "[\"/tmp/vscode-ssh-auth-b94ace60-451d-4044-a2e0-35760b5736f4.sock\",\"/tmp/.X11-unix/X0\"]",
        "PHP_URL": "https://www.php.net/distributions/php-8.1.23.tar.xz",
        "SHLVL": "1",
        "PHP_CFLAGS": "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
        "APACHE_ENVVARS": "/etc/apache2/envvars",
        "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "PHP_ASC_URL": "https://www.php.net/distributions/php-8.1.23.tar.xz.asc",
        "PHP_CPPFLAGS": "-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64",
        "_": "/usr/bin/cat"
}
[22476 ms] 
[22476 ms] Start: Run in container: mkdir -p '/root/.devcontainer' && CONTENT="$(cat '/root/.devcontainer/.updateContentCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-09-28T10:12:27.034854245Z}" != '2023-09-28T10:12:27.034854245Z' ] && echo '2023-09-28T10:12:27.034854245Z' > '/root/.devcontainer/.updateContentCommandMarker'
[22482 ms] 
[22482 ms] 
[22482 ms] Start: Run in container: mkdir -p '/root/.devcontainer' && CONTENT="$(cat '/root/.devcontainer/.postCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-09-28T10:12:27.034854245Z}" != '2023-09-28T10:12:27.034854245Z' ] && echo '2023-09-28T10:12:27.034854245Z' > '/root/.devcontainer/.postCreateCommandMarker'
[22487 ms] 
[22487 ms] 
Running the postCreateCommand from devcontainer.json...

[22489 ms] Start: Run in container: /bin/sh -c composer update
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 21 installs, 0 updates, 0 removals
  - Locking barcode-bakery/barcode-1d (7.0.4)
  - Locking barcode-bakery/barcode-common (7.0.3)
  - Locking barcode-bakery/barcode-common-purchased (7.0.3)
  - Locking barcode-bakery/barcode-datamatrix (6.0.2)
  - Locking dsiddharth2/php-zxing (1.0.3)
  - Locking mpdf/mpdf (v8.2.0)
  - Locking mpdf/psr-http-message-shim (2.0.0)
  - Locking mpdf/psr-log-aware-trait (v3.0.0)
  - Locking myclabs/deep-copy (1.11.1)
  - Locking paragonie/random_compat (v9.99.100)
  - Locking phpmailer/phpmailer (v5.2.28)
  - Locking psr/http-message (2.0)
  - Locking psr/log (3.0.0)
  - Locking ptachoire/php-dmtx (1.4.0)
  - Locking robthree/twofactorauth (1.8.2)
  - Locking scssphp/scssphp (v1.11.1)
  - Locking setasign/fpdi (v2.4.1)
  - Locking smarty/smarty (v4.3.4)
  - Locking symfony/deprecation-contracts (v3.3.0)
  - Locking symfony/options-resolver (v6.3.0)
  - Locking symfony/process (v6.3.4)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 21 installs, 0 updates, 0 removals
  - Downloading barcode-bakery/barcode-common (7.0.3)
  - Downloading barcode-bakery/barcode-1d (7.0.4)
  - Downloading dsiddharth2/php-zxing (1.0.3)
  - Downloading setasign/fpdi (v2.4.1)
  - Downloading psr/log (3.0.0)
  - Downloading psr/http-message (2.0)
  - Downloading paragonie/random_compat (v9.99.100)
  - Downloading myclabs/deep-copy (1.11.1)
  - Downloading mpdf/psr-log-aware-trait (v3.0.0)
  - Downloading mpdf/psr-http-message-shim (2.0.0)
  - Downloading mpdf/mpdf (v8.2.0)
  - Downloading phpmailer/phpmailer (v5.2.28)
  - Downloading symfony/process (v6.3.4)
  - Downloading symfony/deprecation-contracts (v3.3.0)
  - Downloading symfony/options-resolver (v6.3.0)
  - Downloading ptachoire/php-dmtx (1.4.0)
  - Downloading robthree/twofactorauth (1.8.2)
  - Downloading scssphp/scssphp (v1.11.1)
  - Downloading smarty/smarty (v4.3.4)
  0/19 [>---------------------------]   0%[24079 ms] Start: Run in container: cat /proc/392/environ
[24079 ms] Start: Run in container: cat /proc/392/environ
 18/19 [==========================>-]  94%[28613 ms] [10:12:39] Extracted extension to file:///root/.vscode-server/extensions/zobo.php-intellisense-1.3.3: zobo.php-intellisense
[28625 ms] [10:12:40] Renamed to /root/.vscode-server/extensions/zobo.php-intellisense-1.3.3
[28627 ms] [10:12:40] Extracting extension completed. zobo.php-intellisense
[28634 ms] [10:12:40] Extension installed successfully: zobo.php-intellisense
[28634 ms] [10:12:40] Extension 'zobo.php-intellisense' v1.3.3 was successfully installed.
[30918 ms] Start: Run in container: mkdir -p '/vscode/vscode-server/extensionsCache' && cd '/root/.vscode-server/extensionsCache' && cp 'zobo.php-intellisense-1.3.3' '/vscode/vscode-server/extensionsCache'
[30926 ms] 
[30927 ms] 
[30927 ms] Start: Run in container: cd '/vscode/vscode-server/extensionsCache' && ls -t | tail -n +50 | xargs rm -f
[30931 ms] 
[30931 ms] 
  - Installing barcode-bakery/barcode-common (7.0.3): Extracting archive
  - Installing barcode-bakery/barcode-1d (7.0.4): Extracting archive
  - Installing barcode-bakery/barcode-common-purchased (7.0.3): Source already present
  - Installing barcode-bakery/barcode-datamatrix (6.0.2): Source already present
  - Installing dsiddharth2/php-zxing (1.0.3): Extracting archive
  - Installing setasign/fpdi (v2.4.1): Extracting archive
  - Installing psr/log (3.0.0): Extracting archive
  - Installing psr/http-message (2.0): Extracting archive
  - Installing paragonie/random_compat (v9.99.100): Extracting archive
  - Installing myclabs/deep-copy (1.11.1): Extracting archive
  - Installing mpdf/psr-log-aware-trait (v3.0.0): Extracting archive
  - Installing mpdf/psr-http-message-shim (2.0.0): Extracting archive
  - Installing mpdf/mpdf (v8.2.0): Extracting archive
  - Installing phpmailer/phpmailer (v5.2.28): Extracting archive
  - Installing symfony/process (v6.3.4): Extracting archive
  - Installing symfony/deprecation-contracts (v3.3.0): Extracting archive
  - Installing symfony/options-resolver (v6.3.0): Extracting archive
  - Installing ptachoire/php-dmtx (1.4.0): Extracting archive
  - Installing robthree/twofactorauth (1.8.2): Extracting archive
  - Installing scssphp/scssphp (v1.11.1): Extracting archive
  - Installing smarty/smarty (v4.3.4): Extracting archive
5 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
8 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Found 3 security vulnerability advisories affecting 1 package.
Run "composer audit" for a full list of advisories.
[32197 ms] Start: Run in container: # Test for /root/.gitconfig and git
[32199 ms] 
[32200 ms] 
[32200 ms] Start: Run in container: # Copy C:\Users\schnavid\.gitconfig to /root/.gitconfig
[32202 ms] 
[32202 ms] 
[32203 ms] Start: Run in container: # Cleaning up git config
[32207 ms] 
[32207 ms] 
[32207 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/abd2f3db4bdb28f9e95536dfa84d8479f1eb312d/node /tmp/vscode-remote-containers-b94ace60-451d-4044-a2e0-35760b5736f4.js git-credential-helper $*; }; f' || true
[32210 ms] 
[32210 ms] 
[32211 ms] Start: Run: docker rm -f e57ca85deccbbbe0b27309e631f0d61a7e8a781c1580b9140cd3c970103720ae
[32442 ms] Container server terminated (code: 137, signal: null).

@chrmarti
Copy link
Contributor

Could you remove the added files and then rebuild the container (F1 > Dev Container: Rebuild Container or Dev Containers: Rebuild and Reopen Container) to see if they are recreated?

If they are recreated with a rebuild, maybe they are a side-effect of composer update, try removing the files and remove "postCreateCommand": "composer update" from the devcontainer.json and then rebuild the container to see if they reappear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

2 participants