Skip to content

vagrant up gets error indicatng that docker not supported #26

@ilearner777

Description

@ilearner777

Issue
I ran this on 2023-10-10 and vagrant successfully created a docker image.
I ran today on 2023-11-04 and now getting error described below

Environment:

  • Windows 11 Home Edition
  • Vagrant v2.4.0
  • Docker Desktop 4.25.0 (126437)

Vagrantfile Excerpt

Vagrant.configure("2") do |config|
    config.vm.box = "tknerr/baseimage-ubuntu-22.04"
    config.vm.box_version = "1.0.0"
  end

Error Message

vagrant up --provider=docker | tee ./.vagrant/docker.20231104-0845.log 2>&1
Bringing machine 'default' up with 'docker' provider...
==> default: Box 'tknerr/baseimage-ubuntu-22.04' could not be found. Attempting to find and install...
    default: Box Provider: docker
    default: Box Version: >= 0
==> default: Loading metadata for box 'tknerr/baseimage-ubuntu-22.04'
    default: URL: https://vagrantcloud.com/api/v2/vagrant/tknerr/baseimage-ubuntu-22.04
The box you're attempting to add doesn't support the provider
you requested. Please find an alternate box or use an alternate
provider. Double-check your requested provider to verify you didn't
simply misspell it.

If you're adding a box from HashiCorp's Vagrant Cloud, make sure the box is
released.

Name: tknerr/baseimage-ubuntu-22.04
Address: https://vagrantcloud.com/api/v2/vagrant/tknerr/baseimage-ubuntu-22.04
Requested provider: docker (x64)

Additional Information

When I try to add box manually, this is the result:

$ vagrant box add tknerr/baseimage-ubuntu-22.04
==> box: Loading metadata for box 'tknerr/baseimage-ubuntu-22.04'
    box: URL: https://vagrantcloud.com/api/v2/vagrant/tknerr/baseimage-ubuntu-22.04
The box you're attempting to add has no available version that
matches the constraints you requested. Please double-check your
settings. Also verify that if you specified version constraints,
that the provider you wish to use is available for these constraints.

Box: tknerr/baseimage-ubuntu-22.04
Address: https://vagrantcloud.com/api/v2/vagrant/tknerr/baseimage-ubuntu-22.04
Constraints: >= 0
Available versions: 1.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions