#error when opening project in dev container

26 messages · Page 1 of 1 (latest)

amber token
#

Yah otherwise it can take a little while before I check for new support threads 😄

#

That error is a very general "something went oopsie" kind of error. There can be a lot of output, so check a bit higher up for more errors. You should also retry running the container at least 2-3 times before you give up. And make sure docker is up and running in the background. You may have to restart you computer if you haven't done so already to make sure it's fully set up

#

Here's output straight from ChatGPT 😄

The "buildx" command is an extension for Docker that allows you to build and publish images for multiple platforms using a single command.

If you're receiving the error message "docker: 'buildx' is not a docker command", it's likely that the "buildx" plugin is not installed on your system or not enabled.

To install and enable the "buildx" plugin, you can follow these steps:

Make sure you have Docker version 19.03 or later installed on your system.
Install the "buildx" plugin by running the following command:
docker buildx install
Set the "buildx" plugin as the default builder by running the following command:
arduino
docker buildx use default
Once you have installed and enabled the "buildx" plugin, you should be able to use the "buildx" command without any issues.

#

Which OS are you on?

#

So I guess if you installed using either .deb or .rpm you should already have buildx 🤔

#

Can you run just docker buildx to see if the command exists?

#

Doesn't dnf install the .rpm version?

#

According to ChatGPT it does 🙂 God I love not having to search google myself xD

#

However, there's not much reason not to install Docker Desktop, it's a pretty nice tool

#

I use Docker Desktop

#

I've used fedora very, very little, but my best guess would be that you need to enable/add a repository

#

OS requirements
To install Docker Engine, you need a maintained version of one of the following Fedora versions:

Fedora 36
Fedora 37
Fedora 38

#

So Fedora 38 should work just fine

#

That looks promising

#

Alright 🙂

amber token
#

I would choose docker-desktop because I like having the option of using the GUI, but either or should work for your purposes

#

That sounds really weird 🤔 On Windows installing Docker Desktop installs the docker service for you and is essentially just docker + gui

#

Docker Desktop can't really run without the docker service, so if they are mutually exclusive then docker desktop HAS to install it

#

So I guess your best option is to follow the guide perhaps where they first uninstall everything and then install one of them

#

The only times I've delved into Fedora has been related to diving into dependency hell, so based on my experience you may be up for a very fun time trying to fix this >.<