Install vscode (visual studio code) as a separate docker container

I’d love to give this a try but I wasn’t able to find this file on your github (anymore, I did find it when I wrote the first reply). I had to pull this file from your image. Could you tell me which repo is the right one?

Text Oh that I wish it was… (honestly it only hurts when I laugh)… :upside_down_face:

Quick background: While not a total noob, I am relatively new to HA & totally new to the VS CodeServer. I was an Engineer for over 20 years (12 at Apple if that matters) so I certainly understand dev concepts/various languages/etc, and have been playing around with Docker on and off now for about a year and change…

With that out of the way.

I tried to add the linuxserver/code-server to my existing Docker compose instance (with minor adaptations as needed for local environment). Unfortunately after nearly 7 days at this I have made only a bit of progress.

Issue(s):

  1. At one point I SORT of got stecky’s DockerMod to run… I say sort of because I got a bunch of errors (likely some of the extensions didn’t load or persist, BUT was able to edit HA files in vscode).

  2. Building on my sketchy knowledge docker (it seems…) I concluded that in keeping with Docker ideology the best approach was to nuke&pave. Delete the vscode config directory and re-create the container after checking my compose script. Unfortunately I can’t get the docker_mod to ever run again. I tried adding the 6 mentioned extensions manually but can’t seem to get the HA extension (or perhaps others) to properly load/config. Thus rather then continue to try t fight my way though something someone else has already done… I’m back to trying to get the mod to load/run as intended and REALLY could use some help as I must be missing something stupid here…

The code server DOES come up AND looking thru the logs I can load the linuxserver mod for perl (as a test), but log seems to error on the fetch for Stecky’s mod. UID Specifically claiming

[mod-init] Applying stecky/mods:code-server-home-assistant files to container,
gzip: stdin: not in gzip format,
tar: Child returned status 1,
tar: Error is not recoverable: exiting now,

FYI UID 1011 is the owner of the vscode/config volume (and everything inside).

I’m copying my log and docker compose files in hopes someone can see what I’m missing… Thanks for ANY help you can provide…

PS: wouldn’t mind a hint as well on how to get the vsserver logs to reflect the local time that is clearly present in the docker container as evidenced by stepping into the live container and checking date. Passing localtime as a volume bind doesn’t improve the matter. Both methods show correct pacific time (though log from the container is in UTC)

–Tom

Docker Config

version: '3'
services:

  HomeAssistant:
    container_name: HomeAssistant
    image: homeassistant/home-assistant:latest
    restart: always
    network_mode: host
    ports:
      - "8123:8123"
    environment:
      - PUID=1009
      - TZ=America/Tijuana
    volumes:
      - "/share/CACHEDEV1_DATA/DockerAppData/HomeAssistant/config:/config"
      - "/var/run/docker.sock:/var/run/docker.sock"

#            Visual Studio code editor
  vscode:
    container_name: vscode
    image: linuxserver/code-server:latest
    restart: unless-stopped
    network_mode: host
    ports:
      - "8443:8443"
    environment:
      - PUID=1011
      - PGID=911
      - TZ=America/Tijuana
      - PASSWORD=XXXXX 
#        - PROXY_DOMAIN=
#        - SUDO_PASSWORD=xxxx
      - HOMEASSISTANT_URL=http://localhost:8123
      - HOMEASSISTANT_TOKEN=XXXXX
#      - DOCKER_MODS=stecky/mods:code-server-home-assistant
      - DOCKER_MODS=linuxserver/mods:code-server-python3|stecky/mods:code-server-home-assistant
    volumes:
      - "/share/CACHEDEV1_DATA/DockerAppData/VScode/config:/config"
      - "/share/CACHEDEV1_DATA/DockerAppData/HomeAssistant/config:/ha_config"
#      - /etc/localtime:/etc/localtime:ro

– Log to follow / next post –

Log from vscode container (part 1)

[mod-init] Attempting to run Docker Modification Logic,
[mod-init] Applying linuxserver/mods:code-server-python3 files to container,
[mod-init] Applying stecky/mods:code-server-home-assistant files to container,
gzip: stdin: not in gzip format,
tar: Child returned status 1,
tar: Error is not recoverable: exiting now,
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.,
[s6-init] ensuring user provided files have correct perms...exited 0.,
[fix-attrs.d] applying ownership & permissions fixes...,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts...,
[cont-init.d] 01-envfile: executing... ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing... ,
-------------------------------------,
          _         (),
         | |  ___   _    __,
         | | / __| | |  /  \ ,
         | | \__ \ | | | () |,
         |_| |___/ |_|  \__/,
Brought to you by linuxserver.io,
-------------------------------------,
To support LSIO projects visit:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
User uid:    1011,
User gid:    911,
-------------------------------------,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 30-config: executing... ,
[cont-init.d] 30-config: exited 0.,
[cont-init.d] 98-python3: executing... ,
**** installing python3 dev environment ****,
Get:1 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB],
Get:2 https://dl.yarnpkg.com/debian stable/main all Packages [10.2 kB],
Get:3 https://dl.yarnpkg.com/debian stable/main amd64 Packages [10.2 kB],
Get:4 https://deb.nodesource.com/node_12.x bionic InRelease [4,584 B],
Get:5 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB],
Get:6 https://deb.nodesource.com/node_12.x bionic/main amd64 Packages [766 B],
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB],
Get:8 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB],
Get:9 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [216 kB],
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe Sources [11.5 MB],
Get:11 http://archive.ubuntu.com/ubuntu bionic/main Sources [1,063 kB],
Get:12 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5,823 B],
Get:13 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB],
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1,344 kB],
Get:15 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB],
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB],
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/universe Sources [573 kB],
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Sources [13.2 kB],
Get:19 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Sources [25.0 kB],
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main Sources [639 kB],
Get:21 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [429 kB],
Get:22 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [2,550 kB],
Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [2,182 kB],
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [31.6 kB],
Get:25 http://archive.ubuntu.com/ubuntu bionic-security/universe Sources [346 kB],
Get:26 http://archive.ubuntu.com/ubuntu bionic-security/restricted Sources [21.6 kB],
Get:27 http://archive.ubuntu.com/ubuntu bionic-security/main Sources [316 kB],
Get:28 http://archive.ubuntu.com/ubuntu bionic-security/multiverse Sources [5,571 B],
Get:29 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [1,410 kB],
Get:30 http://archive.ubuntu.com/ubuntu bionic-security/main amd64 Packages [2,119 kB],
Get:31 http://archive.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [24.7 kB],
Get:32 http://archive.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [399 kB],
Fetched 37.2 MB in 11s (3,290 kB/s),
Reading package lists...,
Reading package lists...,
Building dependency tree...,
Reading state information...,
The following additional packages will be installed:,
  binutils binutils-common binutils-x86-64-linux-gnu cpp cpp-7 dbus dh-python,
  dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base gir1.2-glib-2.0,
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl,
  libapparmor1 libasan4 libatomic1 libbinutils libc-dev-bin libc6-dev libcc1-0,
  libcilkrts5 libdbus-1-3 libdpkg-perl libexpat1-dev libfakeroot,
  libfile-fcntllock-perl libgcc-7-dev libgirepository-1.0-1 libglib2.0-0,
  libglib2.0-data libgomp1 libicu60 libisl19 libitm1 liblocale-gettext-perl,
  liblsan0 libmpc3 libmpdec2 libmpfr6 libmpx2 libpython3-dev libpython3-stdlib,
  libpython3.6 libpython3.6-dev libpython3.6-minimal libpython3.6-stdlib,
  libquadmath0 libstdc++-7-dev libtsan0 libubsan0 libxml2 linux-libc-dev make,
  manpages manpages-dev python-pip-whl python3 python3-asn1crypto,
  python3-cffi-backend python3-crypto python3-cryptography python3-dbus,
  python3-distutils python3-gi python3-idna python3-keyring,
  python3-keyrings.alt python3-lib2to3 python3-minimal python3-pkg-resources,
  python3-secretstorage python3-setuptools python3-six python3-wheel,
  python3-xdg python3.6 python3.6-dev python3.6-minimal python3.6-venv,
  shared-mime-info xdg-user-dirs,
Suggested packages:,
  binutils-doc cpp-doc gcc-7-locales default-dbus-session-bus,
  | dbus-session-bus debian-keyring g++-multilib g++-7-multilib gcc-7-doc,
  libstdc++6-7-dbg gcc-multilib autoconf automake libtool flex bison gdb,
  gcc-doc gcc-7-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg,
  libasan4-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg,
  libmpx2-dbg libquadmath0-dbg glibc-doc bzr libssl-doc libstdc++-7-doc,
  make-doc man-browser python3-doc python3-tk python-crypto-doc,
  python-cryptography-doc python3-cryptography-vectors python-dbus-doc,
  python3-dbus-dbg gnome-keyring libkf5wallet-bin gir1.2-gnomekeyring-1.0,
  python-secretstorage-doc python-setuptools-doc python3.6-doc binfmt-support,
The following NEW packages will be installed:,
  binutils binutils-common binutils-x86-64-linux-gnu build-essential cpp cpp-7,
  dbus dh-python dpkg-dev fakeroot g++ g++-7 gcc gcc-7 gcc-7-base,
  gir1.2-glib-2.0 libalgorithm-diff-perl libalgorithm-diff-xs-perl,
  libalgorithm-merge-perl libapparmor1 libasan4 libatomic1 libbinutils,
  libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libdbus-1-3 libdpkg-perl,
  libexpat1-dev libfakeroot libffi-dev libfile-fcntllock-perl libgcc-7-dev,
  libgirepository-1.0-1 libglib2.0-0 libglib2.0-data libgomp1 libicu60,
  libisl19 libitm1 liblocale-gettext-perl liblsan0 libmpc3 libmpdec2 libmpfr6,
  libmpx2 libpython3-dev libpython3-stdlib libpython3.6 libpython3.6-dev,
  libpython3.6-minimal libpython3.6-stdlib libquadmath0 libssl-dev,
  libstdc++-7-dev libtsan0 libubsan0 libxml2 linux-libc-dev make manpages,
  manpages-dev python-pip-whl python3 python3-asn1crypto python3-cffi-backend,
  python3-crypto python3-cryptography python3-dbus python3-dev,
  python3-distutils python3-gi python3-idna python3-keyring,
  python3-keyrings.alt python3-lib2to3 python3-minimal python3-pip,
  python3-pkg-resources python3-secretstorage python3-setuptools python3-six,
  python3-venv python3-wheel python3-xdg python3.6 python3.6-dev,
  python3.6-minimal python3.6-venv shared-mime-info xdg-user-dirs,
0 upgraded, 92 newly installed, 0 to remove and 2 not upgraded.,
Need to get 112 MB of archives.,
After this operation, 337 MB of additional disk space will be used.,
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 liblocale-gettext-perl amd64 1.07-3build2 [16.6 kB],
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-minimal amd64 3.6.9-1~18.04ubuntu1.4 [534 kB],
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-minimal amd64 3.6.9-1~18.04ubuntu1.4 [1,610 kB],
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-minimal amd64 3.6.7-1~18.04 [23.7 kB],
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpdec2 amd64 2.4.2-1ubuntu1 [84.1 kB],
Get:6 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-stdlib amd64 3.6.9-1~18.04ubuntu1.4 [1,712 kB],
Get:7 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6 amd64 3.6.9-1~18.04ubuntu1.4 [203 kB],
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-stdlib amd64 3.6.7-1~18.04 [7,240 B],
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3 amd64 3.6.7-1~18.04 [47.2 kB],
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libapparmor1 amd64 2.12-4ubuntu5.1 [31.3 kB],
Get:11 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdbus-1-3 amd64 1.12.2-1ubuntu1.2 [175 kB],
Get:12 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dbus amd64 1.12.2-1ubuntu1.2 [150 kB],
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-0 amd64 2.56.4-0ubuntu0.18.04.8 [1,171 kB],
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 libgirepository-1.0-1 amd64 1.56.1-1 [82.0 kB],
Get:15 http://archive.ubuntu.com/ubuntu bionic/main amd64 gir1.2-glib-2.0 amd64 1.56.1-1 [131 kB],
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libglib2.0-data all 2.56.4-0ubuntu0.18.04.8 [4,716 B],
Get:17 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libicu60 amd64 60.2-3ubuntu3.1 [8,054 kB],
Get:18 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libxml2 amd64 2.9.4+dfsg1-6.1ubuntu1.3 [663 kB],
Get:19 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-dbus amd64 1.2.6-1 [89.9 kB],
Get:20 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-gi amd64 3.26.1-2ubuntu1 [153 kB],
Get:21 http://archive.ubuntu.com/ubuntu bionic/main amd64 shared-mime-info amd64 1.9-2 [426 kB],
Get:22 http://archive.ubuntu.com/ubuntu bionic/main amd64 xdg-user-dirs amd64 0.17-1ubuntu1 [48.0 kB],
Get:23 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages all 4.15-1 [1,234 kB],
Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-common amd64 2.30-21ubuntu1~18.04.5 [197 kB],
Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libbinutils amd64 2.30-21ubuntu1~18.04.5 [489 kB],
Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.30-21ubuntu1~18.04.5 [1,839 kB],
Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 binutils amd64 2.30-21ubuntu1~18.04.5 [3,388 B],
Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc-dev-bin amd64 2.27-3ubuntu1.4 [71.8 kB],
Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 linux-libc-dev amd64 4.15.0-142.146 [987 kB],
Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libc6-dev amd64 2.27-3ubuntu1.4 [2,585 kB],
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7-base amd64 7.5.0-3ubuntu1~18.04 [18.3 kB],
Get:32 http://archive.ubuntu.com/ubuntu bionic/main amd64 libisl19 amd64 0.19-1 [551 kB],
Get:33 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpfr6 amd64 4.0.1-1 [243 kB],
Get:34 http://archive.ubuntu.com/ubuntu bionic/main amd64 libmpc3 amd64 1.1.0-1 [40.8 kB],
Get:35 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp-7 amd64 7.5.0-3ubuntu1~18.04 [8,591 kB],
Get:36 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 cpp amd64 4:7.4.0-1ubuntu2.3 [27.7 kB],
Get:37 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcc1-0 amd64 8.4.0-1ubuntu1~18.04 [39.4 kB],
Get:38 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgomp1 amd64 8.4.0-1ubuntu1~18.04 [76.5 kB],
Get:39 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libitm1 amd64 8.4.0-1ubuntu1~18.04 [27.9 kB],
Get:40 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libatomic1 amd64 8.4.0-1ubuntu1~18.04 [9,192 B],
Get:41 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libasan4 amd64 7.5.0-3ubuntu1~18.04 [358 kB],
Get:42 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 liblsan0 amd64 8.4.0-1ubuntu1~18.04 [133 kB],
Get:43 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libtsan0 amd64 8.4.0-1ubuntu1~18.04 [288 kB],
Get:44 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libubsan0 amd64 7.5.0-3ubuntu1~18.04 [126 kB],
Get:45 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libcilkrts5 amd64 7.5.0-3ubuntu1~18.04 [42.5 kB],
Get:46 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libmpx2 amd64 8.4.0-1ubuntu1~18.04 [11.6 kB],
Get:47 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libquadmath0 amd64 8.4.0-1ubuntu1~18.04 [134 kB],
Get:48 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libgcc-7-dev amd64 7.5.0-3ubuntu1~18.04 [2,378 kB],
Get:49 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc-7 amd64 7.5.0-3ubuntu1~18.04 [9,381 kB],
Get:50 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gcc amd64 4:7.4.0-1ubuntu2.3 [5,184 B],
Get:51 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.5.0-3ubuntu1~18.04 [1,471 kB],
Get:52 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.5.0-3ubuntu1~18.04 [9,697 kB],
Get:53 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.4.0-1ubuntu2.3 [1,568 B],
Get:54 http://archive.ubuntu.com/ubuntu bionic/main amd64 make amd64 4.1-9.1ubuntu1 [154 kB],
Get:55 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libdpkg-perl all 1.19.0.5ubuntu2.3 [211 kB],
Get:56 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 dpkg-dev all 1.19.0.5ubuntu2.3 [607 kB],
Get:57 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4,758 B],
Get:58 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-lib2to3 all 3.6.9-1~18.04 [77.4 kB],
Get:59 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-distutils all 3.6.9-1~18.04 [144 kB],
Get:60 http://archive.ubuntu.com/ubuntu bionic/main amd64 dh-python all 3.20180325ubuntu2 [89.2 kB],
Get:61 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfakeroot amd64 1.22-2ubuntu1 [25.9 kB],
Get:62 http://archive.ubuntu.com/ubuntu bionic/main amd64 fakeroot amd64 1.22-2ubuntu1 [62.3 kB],
Get:63 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB],
Get:64 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-diff-xs-perl amd64 0.04-5 [11.1 kB],
Get:65 http://archive.ubuntu.com/ubuntu bionic/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB],
Get:66 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libexpat1-dev amd64 2.2.5-3ubuntu0.2 [122 kB],
Get:67 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfile-fcntllock-perl amd64 0.22-3build2 [33.2 kB],
Get:68 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6 amd64 3.6.9-1~18.04ubuntu1.4 [1,414 kB],
Get:69 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3.6-dev amd64 3.6.9-1~18.04ubuntu1.4 [44.9 MB],
Get:70 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libpython3-dev amd64 3.6.7-1~18.04 [7,328 B],
Get:71 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1~18.04.9 [1,566 kB],
Get:72 http://archive.ubuntu.com/ubuntu bionic/main amd64 manpages-dev all 4.15-1 [2,217 kB],
Get:73 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python-pip-whl all 9.0.1-2.3~ubuntu1.18.04.4 [1,653 kB],
Get:74 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-asn1crypto all 0.24.0-1 [72.8 kB],
Get:75 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-cffi-backend amd64 1.11.5-1 [64.6 kB],
Get:76 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-crypto amd64 2.6.1-8ubuntu2 [244 kB],
Get:77 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-idna all 2.6-1 [32.5 kB],
Get:78 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-six all 1.11.0-2 [11.4 kB],
Get:79 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-cryptography amd64 2.1.4-1ubuntu1.4 [220 kB],
Get:80 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3.6-dev amd64 3.6.9-1~18.04ubuntu1.4 [508 kB],
Get:81 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-dev amd64 3.6.7-1~18.04 [1,288 B],
Get:82 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-secretstorage all 2.3.1-2 [12.1 kB],
Get:83 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyring all 10.6.0-1 [26.7 kB],
Get:84 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-keyrings.alt all 3.0-1 [16.6 kB],
Get:85 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-pip all 9.0.1-2.3~ubuntu1.18.04.4 [114 kB],
Get:86 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-pkg-resources all 39.0.1-2 [98.8 kB],
Get:87 http://archive.ubuntu.com/ubuntu bionic/main amd64 python3-setuptools all 39.0.1-2 [248 kB],
Get:88 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3.6-venv amd64 3.6.9-1~18.04ubuntu1.4 [6,188 B],
Get:89 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 python3-venv amd64 3.6.7-1~18.04 [1,208 B],
Get:90 http://archive.ubuntu.com/ubuntu bionic/universe amd64 python3-wheel all 0.30.0-0.2 [36.5 kB],
Get:91 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python3-xdg all 0.25-4ubuntu1.1 [31.3 kB],
Get:92 http://archive.ubuntu.com/ubuntu bionic/main amd64 libffi-dev amd64 3.2.1-8 [156 kB],
debconf: unable to initialize frontend: Dialog,
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76, <> line 92.),
debconf: falling back to frontend: Readline,
debconf: unable to initialize frontend: Readline,
debconf: (This frontend requires a controlling tty.),
debconf: falling back to frontend: Teletype,
dpkg-preconfigure: unable to re-open stdin: ,
Fetched 112 MB in 31s (3,553 kB/s),

Apologies for the length of the post.

Log from vscode container (final part)
Selecting previously unselected package liblocale-gettext-perl.
(Reading database … 16622 files and directories currently installed.)
Preparing to unpack …/liblocale-gettext-perl_1.07-3build2_amd64.deb …
Unpacking liblocale-gettext-perl (1.07-3build2) …
Selecting previously unselected package libpython3.6-minimal:amd64.
Preparing to unpack …/libpython3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package python3.6-minimal.
Preparing to unpack …/python3.6-minimal_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking python3.6-minimal (3.6.9-1~18.04ubuntu1.4) …
Setting up libpython3.6-minimal:amd64 (3.6.9-1~18.04ubuntu1.4) …
Setting up python3.6-minimal (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package python3-minimal.
(Reading database … 16874 files and directories currently installed.)
Preparing to unpack …/python3-minimal_3.6.7-1~18.04_amd64.deb …
Unpacking python3-minimal (3.6.7-1~18.04) …
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack …/libmpdec2_2.4.2-1ubuntu1_amd64.deb …
Unpacking libmpdec2:amd64 (2.4.2-1ubuntu1) …
Selecting previously unselected package libpython3.6-stdlib:amd64.
Preparing to unpack …/libpython3.6-stdlib_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package python3.6.
Preparing to unpack …/python3.6_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking python3.6 (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack …/libpython3-stdlib_3.6.7-1~18.04_amd64.deb …
Unpacking libpython3-stdlib:amd64 (3.6.7-1~18.04) …
Setting up python3-minimal (3.6.7-1~18.04) …
Selecting previously unselected package python3.
(Reading database … 17278 files and directories currently installed.)
Preparing to unpack …/00-python3_3.6.7-1~18.04_amd64.deb …
Unpacking python3 (3.6.7-1~18.04) …
Selecting previously unselected package libapparmor1:amd64.
Preparing to unpack …/01-libapparmor1_2.12-4ubuntu5.1_amd64.deb …
Unpacking libapparmor1:amd64 (2.12-4ubuntu5.1) …
Selecting previously unselected package libdbus-1-3:amd64.
Preparing to unpack …/02-libdbus-1-3_1.12.2-1ubuntu1.2_amd64.deb …
Unpacking libdbus-1-3:amd64 (1.12.2-1ubuntu1.2) …
Selecting previously unselected package dbus.
Preparing to unpack …/03-dbus_1.12.2-1ubuntu1.2_amd64.deb …
Unpacking dbus (1.12.2-1ubuntu1.2) …
Selecting previously unselected package libglib2.0-0:amd64.
Preparing to unpack …/04-libglib2.0-0_2.56.4-0ubuntu0.18.04.8_amd64.deb …
Unpacking libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.8) …
Selecting previously unselected package libgirepository-1.0-1:amd64.
Preparing to unpack …/05-libgirepository-1.0-1_1.56.1-1_amd64.deb …
Unpacking libgirepository-1.0-1:amd64 (1.56.1-1) …
Selecting previously unselected package gir1.2-glib-2.0:amd64.
Preparing to unpack …/06-gir1.2-glib-2.0_1.56.1-1_amd64.deb …
Unpacking gir1.2-glib-2.0:amd64 (1.56.1-1) …
Selecting previously unselected package libglib2.0-data.
Preparing to unpack …/07-libglib2.0-data_2.56.4-0ubuntu0.18.04.8_all.deb …
Unpacking libglib2.0-data (2.56.4-0ubuntu0.18.04.8) …
Selecting previously unselected package libicu60:amd64.
Preparing to unpack …/08-libicu60_60.2-3ubuntu3.1_amd64.deb …
Unpacking libicu60:amd64 (60.2-3ubuntu3.1) …
Selecting previously unselected package libxml2:amd64.
Preparing to unpack …/09-libxml2_2.9.4+dfsg1-6.1ubuntu1.3_amd64.deb …
Unpacking libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.3) …
Selecting previously unselected package python3-dbus.
Preparing to unpack …/10-python3-dbus_1.2.6-1_amd64.deb …
Unpacking python3-dbus (1.2.6-1) …
Selecting previously unselected package python3-gi.
Preparing to unpack …/11-python3-gi_3.26.1-2ubuntu1_amd64.deb …
Unpacking python3-gi (3.26.1-2ubuntu1) …
Selecting previously unselected package shared-mime-info.
Preparing to unpack …/12-shared-mime-info_1.9-2_amd64.deb …
Unpacking shared-mime-info (1.9-2) …
Selecting previously unselected package xdg-user-dirs.
Preparing to unpack …/13-xdg-user-dirs_0.17-1ubuntu1_amd64.deb …
Unpacking xdg-user-dirs (0.17-1ubuntu1) …
Selecting previously unselected package manpages.
Preparing to unpack …/14-manpages_4.15-1_all.deb …
Unpacking manpages (4.15-1) …
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack …/15-binutils-common_2.30-21ubuntu1~18.04.5_amd64.deb …
Unpacking binutils-common:amd64 (2.30-21ubuntu1~18.04.5) …
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack …/16-libbinutils_2.30-21ubuntu1~18.04.5_amd64.deb …
Unpacking libbinutils:amd64 (2.30-21ubuntu1~18.04.5) …
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack …/17-binutils-x86-64-linux-gnu_2.30-21ubuntu1~18.04.5_amd64.deb …
Unpacking binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.5) …
Selecting previously unselected package binutils.
Preparing to unpack …/18-binutils_2.30-21ubuntu1~18.04.5_amd64.deb …
Unpacking binutils (2.30-21ubuntu1~18.04.5) …
Selecting previously unselected package libc-dev-bin.
Preparing to unpack …/19-libc-dev-bin_2.27-3ubuntu1.4_amd64.deb …
Unpacking libc-dev-bin (2.27-3ubuntu1.4) …
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack …/20-linux-libc-dev_4.15.0-142.146_amd64.deb …
Unpacking linux-libc-dev:amd64 (4.15.0-142.146) …
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack …/21-libc6-dev_2.27-3ubuntu1.4_amd64.deb …
Unpacking libc6-dev:amd64 (2.27-3ubuntu1.4) …
Selecting previously unselected package gcc-7-base:amd64.
Preparing to unpack …/22-gcc-7-base_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package libisl19:amd64.
Preparing to unpack …/23-libisl19_0.19-1_amd64.deb …
Unpacking libisl19:amd64 (0.19-1) …
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack …/24-libmpfr6_4.0.1-1_amd64.deb …
Unpacking libmpfr6:amd64 (4.0.1-1) …
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack …/25-libmpc3_1.1.0-1_amd64.deb …
Unpacking libmpc3:amd64 (1.1.0-1) …
Selecting previously unselected package cpp-7.
Preparing to unpack …/26-cpp-7_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking cpp-7 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package cpp.
Preparing to unpack …/27-cpp_4%3a7.4.0-1ubuntu2.3_amd64.deb …
Unpacking cpp (4:7.4.0-1ubuntu2.3) …
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack …/28-libcc1-0_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack …/29-libgomp1_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libgomp1:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libitm1:amd64.
Preparing to unpack …/30-libitm1_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libitm1:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack …/31-libatomic1_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libatomic1:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libasan4:amd64.
Preparing to unpack …/32-libasan4_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking libasan4:amd64 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack …/33-liblsan0_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking liblsan0:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack …/34-libtsan0_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libtsan0:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libubsan0:amd64.
Preparing to unpack …/35-libubsan0_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking libubsan0:amd64 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package libcilkrts5:amd64.
Preparing to unpack …/36-libcilkrts5_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack …/37-libmpx2_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libmpx2:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack …/38-libquadmath0_8.4.0-1ubuntu1~18.04_amd64.deb …
Unpacking libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) …
Selecting previously unselected package libgcc-7-dev:amd64.
Preparing to unpack …/39-libgcc-7-dev_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package gcc-7.
Preparing to unpack …/40-gcc-7_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking gcc-7 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package gcc.
Preparing to unpack …/41-gcc_4%3a7.4.0-1ubuntu2.3_amd64.deb …
Unpacking gcc (4:7.4.0-1ubuntu2.3) …
Selecting previously unselected package libstdc+±7-dev:amd64.
Preparing to unpack …/42-libstdc+±7-dev_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking libstdc+±7-dev:amd64 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package g+±7.
Preparing to unpack …/43-g+±7_7.5.0-3ubuntu1~18.04_amd64.deb …
Unpacking g+±7 (7.5.0-3ubuntu1~18.04) …
Selecting previously unselected package g++.
Preparing to unpack …/44-g++_4%3a7.4.0-1ubuntu2.3_amd64.deb …
Unpacking g++ (4:7.4.0-1ubuntu2.3) …
Selecting previously unselected package make.
Preparing to unpack …/45-make_4.1-9.1ubuntu1_amd64.deb …
Unpacking make (4.1-9.1ubuntu1) …
Selecting previously unselected package libdpkg-perl.
Preparing to unpack …/46-libdpkg-perl_1.19.0.5ubuntu2.3_all.deb …
Unpacking libdpkg-perl (1.19.0.5ubuntu2.3) …
Selecting previously unselected package dpkg-dev.
Preparing to unpack …/47-dpkg-dev_1.19.0.5ubuntu2.3_all.deb …
Unpacking dpkg-dev (1.19.0.5ubuntu2.3) …
Selecting previously unselected package build-essential.
Preparing to unpack …/48-build-essential_12.4ubuntu1_amd64.deb …
Unpacking build-essential (12.4ubuntu1) …
Selecting previously unselected package python3-lib2to3.
Preparing to unpack …/49-python3-lib2to3_3.6.9-1~18.04_all.deb …
Unpacking python3-lib2to3 (3.6.9-1~18.04) …
Selecting previously unselected package python3-distutils.
Preparing to unpack …/50-python3-distutils_3.6.9-1~18.04_all.deb …
Unpacking python3-distutils (3.6.9-1~18.04) …
Selecting previously unselected package dh-python.
Preparing to unpack …/51-dh-python_3.20180325ubuntu2_all.deb …
Unpacking dh-python (3.20180325ubuntu2) …
Selecting previously unselected package libfakeroot:amd64.
Preparing to unpack …/52-libfakeroot_1.22-2ubuntu1_amd64.deb …
Unpacking libfakeroot:amd64 (1.22-2ubuntu1) …
Selecting previously unselected package fakeroot.
Preparing to unpack …/53-fakeroot_1.22-2ubuntu1_amd64.deb …
Unpacking fakeroot (1.22-2ubuntu1) …
Selecting previously unselected package libalgorithm-diff-perl.
Preparing to unpack …/54-libalgorithm-diff-perl_1.19.03-1_all.deb …
Unpacking libalgorithm-diff-perl (1.19.03-1) …
Selecting previously unselected package libalgorithm-diff-xs-perl.
Preparing to unpack …/55-libalgorithm-diff-xs-perl_0.04-5_amd64.deb …
Unpacking libalgorithm-diff-xs-perl (0.04-5) …
Selecting previously unselected package libalgorithm-merge-perl.
Preparing to unpack …/56-libalgorithm-merge-perl_0.08-3_all.deb …
Unpacking libalgorithm-merge-perl (0.08-3) …
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack …/57-libexpat1-dev_2.2.5-3ubuntu0.2_amd64.deb …
Unpacking libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) …
Selecting previously unselected package libfile-fcntllock-perl.
Preparing to unpack …/58-libfile-fcntllock-perl_0.22-3build2_amd64.deb …
Unpacking libfile-fcntllock-perl (0.22-3build2) …
Selecting previously unselected package libpython3.6:amd64.
Preparing to unpack …/59-libpython3.6_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package libpython3.6-dev:amd64.
Preparing to unpack …/60-libpython3.6-dev_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack …/61-libpython3-dev_3.6.7-1~18.04_amd64.deb …
Unpacking libpython3-dev:amd64 (3.6.7-1~18.04) …
Selecting previously unselected package libssl-dev:amd64.
Preparing to unpack …/62-libssl-dev_1.1.1-1ubuntu2.1~18.04.9_amd64.deb …
Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.9) …
Selecting previously unselected package manpages-dev.
Preparing to unpack …/63-manpages-dev_4.15-1_all.deb …
Unpacking manpages-dev (4.15-1) …
Selecting previously unselected package python-pip-whl.
Preparing to unpack …/64-python-pip-whl_9.0.1-2.3~ubuntu1.18.04.4_all.deb …
Unpacking python-pip-whl (9.0.1-2.3~ubuntu1.18.04.4) …
Selecting previously unselected package python3-asn1crypto.
Preparing to unpack …/65-python3-asn1crypto_0.24.0-1_all.deb …
Unpacking python3-asn1crypto (0.24.0-1) …
Selecting previously unselected package python3-cffi-backend.
Preparing to unpack …/66-python3-cffi-backend_1.11.5-1_amd64.deb …
Unpacking python3-cffi-backend (1.11.5-1) …
Selecting previously unselected package python3-crypto.
Preparing to unpack …/67-python3-crypto_2.6.1-8ubuntu2_amd64.deb …
Unpacking python3-crypto (2.6.1-8ubuntu2) …
Selecting previously unselected package python3-idna.
Preparing to unpack …/68-python3-idna_2.6-1_all.deb …
Unpacking python3-idna (2.6-1) …
Selecting previously unselected package python3-six.
Preparing to unpack …/69-python3-six_1.11.0-2_all.deb …
Unpacking python3-six (1.11.0-2) …
Selecting previously unselected package python3-cryptography.
Preparing to unpack …/70-python3-cryptography_2.1.4-1ubuntu1.4_amd64.deb …
Unpacking python3-cryptography (2.1.4-1ubuntu1.4) …
Selecting previously unselected package python3.6-dev.
Preparing to unpack …/71-python3.6-dev_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking python3.6-dev (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package python3-dev.
Preparing to unpack …/72-python3-dev_3.6.7-1~18.04_amd64.deb …
Unpacking python3-dev (3.6.7-1~18.04) …
Selecting previously unselected package python3-secretstorage.
Preparing to unpack …/73-python3-secretstorage_2.3.1-2_all.deb …
Unpacking python3-secretstorage (2.3.1-2) …
Selecting previously unselected package python3-keyring.
Preparing to unpack …/74-python3-keyring_10.6.0-1_all.deb …
Unpacking python3-keyring (10.6.0-1) …
Selecting previously unselected package python3-keyrings.alt.
Preparing to unpack …/75-python3-keyrings.alt_3.0-1_all.deb …
Unpacking python3-keyrings.alt (3.0-1) …
Selecting previously unselected package python3-pip.
Preparing to unpack …/76-python3-pip_9.0.1-2.3~ubuntu1.18.04.4_all.deb …
Unpacking python3-pip (9.0.1-2.3~ubuntu1.18.04.4) …
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack …/77-python3-pkg-resources_39.0.1-2_all.deb …
Unpacking python3-pkg-resources (39.0.1-2) …
Selecting previously unselected package python3-setuptools.
Preparing to unpack …/78-python3-setuptools_39.0.1-2_all.deb …
Unpacking python3-setuptools (39.0.1-2) …
Selecting previously unselected package python3.6-venv.
Preparing to unpack …/79-python3.6-venv_3.6.9-1~18.04ubuntu1.4_amd64.deb …
Unpacking python3.6-venv (3.6.9-1~18.04ubuntu1.4) …
Selecting previously unselected package python3-venv.
Preparing to unpack …/80-python3-venv_3.6.7-1~18.04_amd64.deb …
Unpacking python3-venv (3.6.7-1~18.04) …
Selecting previously unselected package python3-wheel.
Preparing to unpack …/81-python3-wheel_0.30.0-0.2_all.deb …
Unpacking python3-wheel (0.30.0-0.2) …
Selecting previously unselected package python3-xdg.
Preparing to unpack …/82-python3-xdg_0.25-4ubuntu1.1_all.deb …
Unpacking python3-xdg (0.25-4ubuntu1.1) …
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack …/83-libffi-dev_3.2.1-8_amd64.deb …
Unpacking libffi-dev:amd64 (3.2.1-8) …
Setting up libquadmath0:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up libgomp1:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up libatomic1:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up python-pip-whl (9.0.1-2.3~ubuntu1.18.04.4) …
Setting up manpages (4.15-1) …
Setting up libicu60:amd64 (60.2-3ubuntu3.1) …
Setting up libcc1-0:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up make (4.1-9.1ubuntu1) …
Setting up libtsan0:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.9) …
Setting up libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.8) …
No schema files found: doing nothing.
Setting up linux-libc-dev:amd64 (4.15.0-142.146) …
Setting up libmpfr6:amd64 (4.0.1-1) …
Setting up libdpkg-perl (1.19.0.5ubuntu2.3) …
Setting up libffi-dev:amd64 (3.2.1-8) …
Setting up libgirepository-1.0-1:amd64 (1.56.1-1) …
Setting up libxml2:amd64 (2.9.4+dfsg1-6.1ubuntu1.3) …
Setting up liblsan0:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up gcc-7-base:amd64 (7.5.0-3ubuntu1~18.04) …
Setting up binutils-common:amd64 (2.30-21ubuntu1~18.04.5) …
Setting up libfile-fcntllock-perl (0.22-3build2) …
Setting up libmpx2:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up gir1.2-glib-2.0:amd64 (1.56.1-1) …
Setting up libglib2.0-data (2.56.4-0ubuntu0.18.04.8) …
Setting up libapparmor1:amd64 (2.12-4ubuntu5.1) …
Setting up libfakeroot:amd64 (1.22-2ubuntu1) …
Setting up libalgorithm-diff-perl (1.19.03-1) …
Setting up liblocale-gettext-perl (1.07-3build2) …
Setting up shared-mime-info (1.9-2) …
Setting up libmpc3:amd64 (1.1.0-1) …
Setting up libc-dev-bin (2.27-3ubuntu1.4) …
Setting up manpages-dev (4.15-1) …
Setting up libc6-dev:amd64 (2.27-3ubuntu1.4) …
Setting up xdg-user-dirs (0.17-1ubuntu1) …
Setting up libitm1:amd64 (8.4.0-1ubuntu1~18.04) …
Setting up libmpdec2:amd64 (2.4.2-1ubuntu1) …
Setting up libdbus-1-3:amd64 (1.12.2-1ubuntu1.2) …
Setting up libisl19:amd64 (0.19-1) …
Setting up libpython3.6-stdlib:amd64 (3.6.9-1~18.04ubuntu1.4) …
Setting up python3.6 (3.6.9-1~18.04ubuntu1.4) …
Setting up libasan4:amd64 (7.5.0-3ubuntu1~18.04) …
Setting up libbinutils:amd64 (2.30-21ubuntu1~18.04.5) …
Setting up libcilkrts5:amd64 (7.5.0-3ubuntu1~18.04) …
Setting up libubsan0:amd64 (7.5.0-3ubuntu1~18.04) …
Setting up python3.6-venv (3.6.9-1~18.04ubuntu1.4) …
Setting up fakeroot (1.22-2ubuntu1) …
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/fakeroot.1.gz because associated file /usr/share/man/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/man1/faked.1.gz because associated file /usr/share/man/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/fakeroot.1.gz because associated file /usr/share/man/es/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/es/man1/faked.1.gz because associated file /usr/share/man/es/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/fakeroot.1.gz because associated file /usr/share/man/fr/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/fr/man1/faked.1.gz because associated file /usr/share/man/fr/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/fakeroot.1.gz because associated file /usr/share/man/sv/man1/fakeroot-sysv.1.gz (of link group fakeroot) doesn’t exist
update-alternatives: warning: skip creation of /usr/share/man/sv/man1/faked.1.gz because associated file /usr/share/man/sv/man1/faked-sysv.1.gz (of link group fakeroot) doesn’t exist
Setting up libgcc-7-dev:amd64 (7.5.0-3ubuntu1~18.04) …
Setting up cpp-7 (7.5.0-3ubuntu1~18.04) …
Setting up libstdc+±7-dev:amd64 (7.5.0-3ubuntu1~18.04) …
Setting up libalgorithm-merge-perl (0.08-3) …
Setting up libalgorithm-diff-xs-perl (0.04-5) …
Setting up libexpat1-dev:amd64 (2.2.5-3ubuntu0.2) …
Setting up dbus (1.12.2-1ubuntu1.2) …
Setting up libpython3.6:amd64 (3.6.9-1~18.04ubuntu1.4) …
Setting up binutils-x86-64-linux-gnu (2.30-21ubuntu1~18.04.5) …
Setting up libpython3-stdlib:amd64 (3.6.7-1~18.04) …
Setting up cpp (4:7.4.0-1ubuntu2.3) …
Setting up python3 (3.6.7-1~18.04) …
running python rtupdate hooks for python3.6…
running python post-rtupdate hooks for python3.6…
Setting up python3-cffi-backend (1.11.5-1) …
Setting up python3-crypto (2.6.1-8ubuntu2) …
Setting up python3-idna (2.6-1) …
Setting up python3-xdg (0.25-4ubuntu1.1) …
Setting up python3-six (1.11.0-2) …
Setting up python3-wheel (0.30.0-0.2) …
Setting up python3-pkg-resources (39.0.1-2) …
Setting up python3-gi (3.26.1-2ubuntu1) …
Setting up libpython3.6-dev:amd64 (3.6.9-1~18.04ubuntu1.4) …
Setting up python3-asn1crypto (0.24.0-1) …
Setting up binutils (2.30-21ubuntu1~18.04.5) …
Setting up python3.6-dev (3.6.9-1~18.04ubuntu1.4) …
Setting up python3-lib2to3 (3.6.9-1~18.04) …
Setting up python3-distutils (3.6.9-1~18.04) …
Setting up libpython3-dev:amd64 (3.6.7-1~18.04) …
Setting up python3-venv (3.6.7-1~18.04) …
Setting up python3-cryptography (2.1.4-1ubuntu1.4) …
Setting up python3-dbus (1.2.6-1) …
Setting up gcc-7 (7.5.0-3ubuntu1~18.04) …
Setting up g+±7 (7.5.0-3ubuntu1~18.04) …
Setting up python3-keyrings.alt (3.0-1) …
Setting up gcc (4:7.4.0-1ubuntu2.3) …
Setting up dpkg-dev (1.19.0.5ubuntu2.3) …
Setting up python3-pip (9.0.1-2.3~ubuntu1.18.04.4) …
Setting up g++ (4:7.4.0-1ubuntu2.3) …
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
update-alternatives: warning: skip creation of /usr/share/man/man1/c++.1.gz because associated file /usr/share/man/man1/g++.1.gz (of link group c++) doesn’t exist
Setting up python3-setuptools (39.0.1-2) …
Setting up python3-secretstorage (2.3.1-2) …
Setting up dh-python (3.20180325ubuntu2) …
Setting up python3-keyring (10.6.0-1) …
Setting up build-essential (12.4ubuntu1) …
Setting up python3-dev (3.6.7-1~18.04) …
Processing triggers for mime-support (3.60ubuntu1) …
Processing triggers for libc-bin (2.27-3ubuntu1.4) …
[cont-init.d] 98-python3: exited 0.,
[cont-init.d] 99-custom-scripts: executing… ,
[custom-init] no custom files found exiting…,
[cont-init.d] 99-custom-scripts: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,
[2021-05-08T03:22:57.479Z] info code-server 3.9.3 fe2dc2deb08e378069891b622bb62ad1d261d1b1,
[2021-05-08T03:22:57.480Z] info Using user-data-dir ~/data,
[2021-05-08T03:22:57.493Z] info Using config file ~/.config/code-server/config.yaml,
[2021-05-08T03:22:57.493Z] info HTTP server listening on http://0.0.0.0:8443 ,
[2021-05-08T03:22:57.493Z] info - Authentication is enabled,
[2021-05-08T03:22:57.493Z] info - Using password from $PASSWORD,
[2021-05-08T03:22:57.493Z] info - Not serving HTTPS ,

This appears to be an issue with rate limits on docker hub (see here)

Try adding ghcr.io/ to the front of my mod
So DOCKER_MODS=linuxserver/mods:code-server-python3|ghcr.io/stecky/mods:code-server-homes-assistant

@stecky Thanks for getting back to me. Unfortunately didn’t help (both from looking at log below, and looking in the config directory)

I ziped my previous config directory, renamed the directory and created a fresh directory at the original mount point to clear out my efforts and attempt to verify the mod’s operation… Effectively nuking all persistent docker data for vscode: /share/CACHEDEV1_DATA/DockerAppData/VScode/config:/config

Anything else I should also consider purging to ensure that any local attempts to debug are purged/overwritten or troubleshoot mod installation? For simplicity, I temporarily removed the reference to linuxserver’s perl3 docker mod.

Thank again,
Tom

Log of container:

[mod-init] Attempting to run Docker Modification Logic,
[mod-init] Applying stecky/mods:code-server-homes-assistant files to container,
,
gzip: stdin: not in gzip format,
tar: Child returned status 1,
tar: Error is not recoverable: exiting now,
[s6-init] making user provided files available at /var/run/s6/etcexited 0.,
[s6-init] ensuring user provided files have correct permsexited 0.,
[fix-attrs.d] applying ownership & permissions fixes,
[fix-attrs.d] done.,
[cont-init.d] executing container initialization scripts,
[cont-init.d] 01-envfile: executing ,
[cont-init.d] 01-envfile: exited 0.,
[cont-init.d] 10-adduser: executing ,
,
-------------------------------------,
_ (),
| | ___ _ ,
| | / | | | / </del> ,
| |
</del> | | | () |,
|| |
/ || _ /,
,
,
Brought to you by linuxserver.io,
-------------------------------------,
,
To support LSIO projects visit:,
https://www.linuxserver.io/donate/,
-------------------------------------,
GID/UID,
-------------------------------------,
,
User uid: 1011,
User gid: 911,
-------------------------------------,
,
[cont-init.d] 10-adduser: exited 0.,
[cont-init.d] 30-config: executing ,
[cont-init.d] 30-config: exited 0.,
[cont-init.d] 99-custom-scripts: executing ,
[custom-init] no custom files found exiting,
[cont-init.d] 99-custom-scripts: exited 0.,
[cont-init.d] done.,
[services.d] starting services,
[services.d] done.,
[2021-05-08T17:40:19.223Z] info code-server 3.9.3 fe2dc2deb08e378069891b622bb62ad1d261d1b1,
[2021-05-08T17:40:19.224Z] info Using user-data-dir ~/data,
[2021-05-08T17:40:19.235Z] info Using config file ~/.config/code-server/config.yaml,
[2021-05-08T17:40:19.235Z] info HTTP server listening on http://0.0.0.0:8443 ,
[2021-05-08T17:40:19.235Z] info - Authentication is enabled,
[2021-05-08T17:40:19.235Z] info - Using password from $PASSWORD,
[2021-05-08T17:40:19.235Z] info - Not serving HTTPS ,

It seems as though your system is not downloading the docker image blob. I honestly don’t have any further advice at this time

Understood. Thank you for taking the time to respond. Seems we were both right… Any chance I can prevail upon you with 3 final questions on your mod & the base container?

Without going into the long detail, and as I suspected in my original post, “there MUST have been something stupid I was missing that hopefully a fresh set of eyes might catch”. Fortunately I eventualy figured it out, after chasing down numerous dead ends and reviewing your DockerHub & ghcr.io binaries. As I mentioned I am new to docker_mod. Unfortunately, and despite having read the GitHub & DockerHub pages, I really don’t actually understand it’s mechanics and various file locations. HOWEVER I did find MY cause for the Mod not downloading…

I mistakenly typed the name of you mod in the docker-compose (must have hit a key while editing the YAML and not noticed)… :scream:

Fortunately that brings me back to where I was before when I said “I think I partially have installed your mod”. I say that because I do indeed have the HA_config (workspace?) loading, and the HomeAssistant language is indeed active when editing the HA configuration.yaml. However I have a large number of anomalies I don’t understand.

Questions:

  1. If I look in the vscode server’s ui to see what extensions I have installed, it shows none.
  • Likewise if I look at the actual config directory: config/extensions is empty…

  • However the hidden directory: config/.code-server/extensions/ does show a number of likely candidate extensions… How do I manage extensions with the mod installed? Shouldn’t these be found in the normal config/extensions directory. Also wondering as I was considering adding Error Lens and don’t want to interfere with location(s), as well as actually SEE what’s installed from the web UI if possible.

ls -la .code-server/extensions/
total 0
drwxrwx---@ 1 weyer_l  staff  296 May  9 12:51 .
drwxr-xr-x@ 1 weyer_l  staff  264 May  8 08:54 ..
drwxrwx---@ 1 weyer_l  staff  296 May  9 13:29 ESPHome.esphome-vscode-0.13.0
drwxrwx---@ 1 weyer_l  staff  330 May  9 13:29 emilast.LogFileHighlighter-2.11.0
drwxrwx---@ 1 weyer_l  staff  500 May  9 13:29 esbenp.prettier-vscode-6.3.2
drwxrwx---@ 1 weyer_l  staff  364 May  9 13:29 keesschollaart.vscode-home-assistant-1.16.0
drwxrwx---@ 1 weyer_l  staff  264 May  9 13:29 lukas-tr.materialdesignicons-intellisense-3.2.0
drwxrwx---@ 1 weyer_l  staff  264 May  9 13:29 netcorext.uuid-generator-0.0.4
drwxrwx---@ 1 weyer_l  staff  264 May  9 13:29 oderwat.indent-rainbow-7.5.0
drwxrwx---@ 1 weyer_l  staff  500 May  9 13:29 redhat.vscode-yaml-0.18.0
  1. Clicking on accounts simply shows as loading (likely because no where in the mod is a user defined?). Would this be a good idea to do locally (somehow, never used VS studio before tryin to use with HA).

  2. Finally… Not sure that the combination of container & mod loaded correctly because it given a number of msgs. An chance you could take a quick look at the log file VScode container log

Thanks again for all the help (getting close here) :slight_smile:

However the hidden directory: config/.code-server/extensions/ does show a number of likely candidate extensions… How do I manage extensions with the mod installed?

I suspect that was the point… The folks over at HA (who I copied the settings from) don’t want people “managing” those extensions. You are free to add/remove other extensions but they treat those as “built-in” and not removable. If you search for one of the built-in extensions you will see that you have neither the ability to add it or remove it, but if you search for some other extension you can add it.

Clicking on accounts simply shows as loading (likely because no where in the mod is a user defined?). Would this be a good idea to do locally (somehow, never used VS studio before tryin to use with HA).

You don’t need this unless you are trying to sync your VSCode settings across multiple systems.

Finally… Not sure that the combination of container & mod loaded correctly because it given a number of msgs. An chance you could take a quick look at the log file

Sorry, but I really don’t have time to read through all of that. If there are errors you want to ask about, call them out specifically.

Your struggles have me wondering why you are even attempting running VSCode in this way. This is really a pretty advanced use case. Do you have some need to run HA as separate docker containers instead of the traditional way of letting the supervisor manage all of that for you?

@Kiesel I tried removing the line that you referenced (the one that disables authentication), but that seems to force you to set a password. I personally don’t need or want to password protect my instance so unless you know of a way to make it optional, I am going to keep it the way it is.

Perfect. I’d originally thought you picked the set of extensions PERSONALLY (based upon the HASS config). Didn’t realize you just re-purposed the existing config. Thanks again for doing it. I just wanted to make sure that in the future I could augment VScode for purposes outside of HA as it seems potentially really convenient for editing other config related on my NAS without mounting them and pulling them up in bbEdit as I have been. Especially with the concept of grouping files into a workspace for text files related files related to a single task. One last question on extensions then… Give the nature of how they are configured, will they automatically update as needed via vscode server or does one need to pull the container periodically to update?

NP. Since I too am getting sidetracked and it seems from your responses the container & mod are working well enough to at least edit the config files for HA, I will deal with container log another day.

Yes. I run HA container on my NAS (QNAP). And while I have seen implementation that seem to be possible building on HASS on generic Linux, which then can be run in a container (as I don’t want to run in VM), Generic Linux as you likely know IS going to be depricated. I actually came to HA from running HomeBridge on it for over a year and a half. Assume I get the time next month to figure out how to create virtual switches, and publish other unsupported devices types (TVs) in HA to HomeKit the same as homebridge does, I will consolidating all on/in HA. Ultimately hoping not to need to run both long term. What drove me finally over the edge into HA was a need to integrate Lifx light control of my several of my Shelly relays that are wired to various switches which I managed to complete (including a interesting 2/3-ways I posted about in another thread for those looking for solutions). Of course my my grand plans will require me having a bit more time to dig into all of HA’s functionalities. And of course configure it… Now made a bit easier with the code editor… Thanks again!

Give the nature of how they are configured, will they automatically update as needed via vscode server or does one need to pull the container periodically to update?

Each of those extensions are pinned at a specific version so the mod would need to be updated in order to update the extensions.

If you want to be able to update them regularly then maybe just use the container without my mod and install them manually. The advantage of the mod is that I can completely tear everything down and start from scratch and it will all get reinstalled for me automatically the next time I start it up. Also, I use the versions that the official HA add-on uses so that I can reasonably be assured of compatibility. You can find the list here addon-vscode/vscode/vscode.extensions at aebab5444f4c98ae030baf5fe0250bbf436ba7b5 · hassio-addons/addon-vscode · GitHub

1 Like

Thanks so much for your work, however this is no longer working for me with LSIO’s VS Code upwards from version v3.12.0-ls102. I get the following log with this version and newer:

/var/run/s6/etc/cont-init.d/99-home-assistant: line 28: uuidgen: command not found

Looks like it can’t find the Docker Mod package. On version 101 and lower it’s still working, so I’m sticking with that. It also was not possible to download it in the extension store on version 102 and higher.

2 Likes

Great guide, thank you.
I have VS Code running in Docker, and I can open my HA config files from the workspace, but I cannot modify them. I get a permissions error.
I assume step 6 is something to do with permissions, but which Settings? VSCode Settings? What is the long lived token? Do I need to change permissions in via SSH?

I don’t know if step 6 is actually the answer but to explain what that step requires (having just done this on my dads NAS last night).

In vscode settings search for homeassistant. At least two things should appear: a space to enter your home assistant url e.g http://:8123 and also a place to enter a long lived token.

Get the long lived token from home assistant by clicking on the user in the bottom left, then scrolling down til you see where you can create one.

I got the vscode addon working on K8S with the same user experience (it all seems to work) I got while testing the supervisor managed version. This is a K8S deployment but can be easily adapted to work in docker-compose.

The same image used by the supervisor is used here so all extensions come pre-installed.
The key is to bypass all the supervisor shenanigans and start vscode manually after copying the bundled user settings that come with the image. This is done by overriding the entrypoint and providing our own startup commands (see command and arg settings).

Please observe that in this example /data/vscode is used as the vscode root configuration folder despite mounting /data. I mount /data this way because, in my case, is the host folder that contains all configuration files I’m interested in working with through vscode. Those are the important parts you need to transplant into your docker-compose if that’s what you are currently using.

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    name: vscode
  name: vscode
  namespace: home-assistant
spec:
  replicas: 1
  selector:
    matchLabels:
      name: vscode
  strategy:
    type: Recreate
  template:
    metadata:
      labels:
        name: vscode
    spec:
      automountServiceAccountToken: true
      containers:
        - args:
            - |
              mkdir -p /data/vscode/User/
              cp /root/.code-server/settings.json /data/vscode/User/settings.json
              code-server --port 8080 --host 0.0.0.0 --auth none --extensions-dir /usr/local/lib/code-server/lib/vscode/extensions/ --user-data-dir /data/vscode
          command:
            - bash
            - -c
          env:
            - name: HASS_SERVER
              value: home-assistant # Your HA hostname (in my case it's just the name of the HA service running on the same namespace) 
            - name: HASS_TOKEN
              value: <YOURTOKEN_HERE>
          image: ghcr.io/hassio-addons/vscode/aarch64:f0648d1
          imagePullPolicy: IfNotPresent
          name: vscode
          ports:
            - containerPort: 8080
              name: http
              protocol: TCP
          volumeMounts:
            - mountPath: /data # The host folder where all cofigrations reside
              name: data
      restartPolicy: Always
      volumes:
        - hostPath:
            path: /data
            type: DirectoryOrCreate
          name: data

Related thought: Digging through how addons are managed made be depressed. I wish I could forget it all.

1 Like

Do you know if there is a way to add mount paths to the HAOS addon? I moved frigate away from HAOS but would love to be able to edit the configuration file still which is now on another computer

I would probably try a vscode remote edit extension. There are probably a few out there.

The above formatting is slightly off to add VScode into the side panel, but you can see what needs to be done here: iframe Panel - Home Assistant.

This should look a bit nicer and just cut’n’paste:

# Add vscode server docker to side panel_iframe
panel_iframe:
  vscode:
    title: "Visual Studio Code"
    url: "http://<HOST_OR_IPADDRESS>:<PORT>"
    icon: mdi:microsoft-visual-studio-code

Quick question here if I might. I reverse engineered the K8 implementation above and added it to my HA Stack but it seems that docent publish a DockerFile or better yet an image. I posted on GitHub asking author if there is a reason why the pull for container failspull for the container fails (and was told they will only discus Supervisor based install). Clearly that is their prerogative but I find myself at a bit of a loss here to understand how you code here could have worked.

I cloned the repo and there doesn’t appear to be a dockerfile even present so my question then is HOW did you get a docker image to run? Did you build it yourself? If so how? If you DIDN’T have to build yourself what did you use for an image? As mentioned in the bug I filed on the HASSIO GitHub page I tried pulling both by project and architecture.

# docker pull ghcr.io/hassio-addons/vscode
Using default tag: latest
Error response from daemon: Head "https://ghcr.io/v2/hassio-addons/vscode/manifests/latest": denied

# docker pull ghcr.io/hassio-addons/vscode:x86_64
Error response from daemon: Head "https://ghcr.io/v2/hassio-addons/vscode/manifests/x86_64": denied

One quick update/revision… Since posting this morning I finally found the dockerfile in the repo and was able to build it (though may have an issue after reviewing job output, but am going to temporarily defer that in the interest of simplicity)… I ssh’d into my server, cloned the GitHub repo, and manually built the image on my server…

docker build -t hassio-addons/addon-vscode:latest .

Unfortunately the container still won’t successfully launch (just thrashes on the start of the code server). It seems like in spite of using the “command” syntax to preface the container launch with the commands you mentioned, it SEEMS like some of the original code still has an issue running BEFORE the command executes. Some code in the image executed BEFORE the newly inserted command(s)? The vscode/User directory IS created on the mapped volume, and the settings.json is copied from the container FS to the mapped storage. So I am guessing I still have an issue related to how I built the image.

Any help here would be great. I initially resisted posting the full compose file for the service as I wanted to make sure it worked before I offered it her to avoid anyone going down a rathole here as I have (and don’t see how it could be relevant to my problem), but perhaps it will be helpful to someone in trying to resolve my issue. I’m sure I am pretty close here just need to find a way to reliably pull a current/ready-built image or find a way to built and automate the creation of an image to use the following service, and it seems this group and potentially @garbelini seem to be my only hope

Thanks for any help or insight you can offer…
All the best,
–T

  vscode:
    container_name: vscode
#    build: https://github.com/hassio-addons/addon-vscode/
    image: hassio-addons/addon-vscode:latest
    restart: always
    hostname: vscode.local
    networks:
      monitor:
    ports:
      - 8450:8443      #change external port to 8450 to avoid (old) version/LinuxServer running on default port 8443
    command: >
      sh -cx "mkdir -p /data/vscode/User/ &&
              cp /root/.code-server/settings.json /data/vscode/User/settings.json &&
              code-server --port 8080 --host 0.0.0.0 --auth none --extensions-dir /usr/local/lib/code-server/lib/vscode/extensions/ --user-data-dir /data/vscode"

    environment:
      - PUID=1011
      - PGID=911
      - TZ=America/Los_Angeles
      - PASSWORD=<secret>
##        - PROXY_DOMAIN=
##        - SUDO_PASSWORD=xxxx
      - HASS_SERVER=http://nn.nn.nn.nn:8123
      - HASS_TOKEN=XXXXXX
    volumes:
      - /share/DockerAppData:/data
      - /share/DockerAppData/HomeAssistant/config:/ha_config
      - /etc/localtime:/etc/localtime:ro