You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running Ubuntu 22.04. Since toolbox isn't packaged for Ubuntu, I manually compiled it using the instructions here. Toolbox seems to be working correctly; I created a Fedora 34 container, updated it, and even ran Firefox inside of it.
What I did
I compiled toolbox for my system using the instructions and rebooted my system
I created a Fedora 34 toolbox and updated it
I followed toolbox-vscode's install instructions, git cloned the repository into ~/.local/share and ran the other commands
Went to my program's directory and ran code .
Was prompted to install VSCodium, installed it, installed Remote Container Extension
[34 ms] Remote-Containers 0.234.0 in VS Code 1.67.0 (57fd6d0195bb9b9d1b49f6da5db789060795de47).
[34 ms] Start: Resolving Remote
[35 ms] Setting up container: fedora-toolbox-34
[39 ms] Start: Run: /home/evan/.local/bin/podman-host inspect --type container fedora-toolbox-34
[164 ms] Start: Check Docker is running
[164 ms] Start: Run: /home/evan/.local/bin/podman-host version --format {{.Server.APIVersion}}
[287 ms] Server API version: 3.4.4
[288 ms] Start: Inspecting container
[288 ms] Start: Run: /home/evan/.local/bin/podman-host inspect --type container 223bedeca7beef658f3421bf189bed7c2d5f9af725bcd40e3870ee8d6273f3c1
[411 ms] Start: Run in container: /bin/sh
[413 ms] Start: Run in container: uname -m
[420 ms] Start: Run in container: cat /etc/passwd
[420 ms] Stdin closed!
[422 ms] Shell server terminated (code: 2, signal: null)
-: 2: Syntax error: "(" unexpected
Possible causes
I get a "F: Filesystem suffix "create" is not applicable for --nofilesystem" message after running 'code .'
After installing locate using DNF, I saw a message that says "System has not been booted with systemd as init system (PID 1). Can't operate.... Failed to connect to bus: Host is down"
The text was updated successfully, but these errors were encountered:
thatLeaflet
changed the title
'-: 2: Syntax error: "(" unexpected' after running 'code .'
Shell server terminated due to syntax error after running 'code .'
May 18, 2022
wjt
added a commit
to wjt/toolbox-vscode
that referenced
this issue
Jul 3, 2024
On Debian-like systems, /bin/sh is dash, which does not support the
bash-specific array syntax used in the wrapper script.
Don't assume that sh is bash: explicitly invoke bash.
Fixesowtaylor#29
wjt
linked a pull request
Jul 3, 2024
that will
close
this issue
About My Setup
I'm running Ubuntu 22.04. Since toolbox isn't packaged for Ubuntu, I manually compiled it using the instructions here. Toolbox seems to be working correctly; I created a Fedora 34 container, updated it, and even ran Firefox inside of it.
What I did
code .
Result
Image of VSCode and Error
Possible causes
The text was updated successfully, but these errors were encountered: