Giter VIP home page Giter VIP logo

Comments (11)

caseywebdev avatar caseywebdev commented on July 3, 2024

👍

from boot2docker-vagrant-box.

AaronLasseigne avatar AaronLasseigne commented on July 3, 2024

👍

from boot2docker-vagrant-box.

seanb4t avatar seanb4t commented on July 3, 2024

+1

from boot2docker-vagrant-box.

EloB avatar EloB commented on July 3, 2024

+1

from boot2docker-vagrant-box.

legal90 avatar legal90 commented on July 3, 2024

Done: the box parallels/boot2docker v1.6.0 has been released:
https://atlas.hashicorp.com/parallels/boxes/boot2docker/versions/1.6.0


It still has SSL disabled, because I can't find a good approach for managing CAs on the host side.
For those who are cool enough to help with SSL verification issues, here is boot2docker.iso with enabled TLS: https://github.com/Parallels/boot2docker/releases/tag/parallels%2Fv1.6.0-ssl

To have boot2docker VM with TLS enabled, we should export these env variables:

export DOCKER_TLS_VERIFY=1
export DOCKER_CERT_PATH="<some_path>"

VM generates certificates automatically, so we have to download a CA to the host and manage DOCKER_CERT_PATH somehow. Pull-requests are welcome :-)

from boot2docker-vagrant-box.

caseywebdev avatar caseywebdev commented on July 3, 2024

💥 thanks!

from boot2docker-vagrant-box.

EloB avatar EloB commented on July 3, 2024

It ask me for password to docker when I ran your latest.

Versions:

  • Vagrant 1.7.2
  • Parallels 10.2.0
$ vagrant up --provider parallels
Bringing machine 'default' up with 'parallels' provider...
==> default: Importing base box 'parallels/boot2docker'...
==> default: Checking if box 'parallels/boot2docker' is up to date...
==> default: Setting the name of the VM: rofl_default_1429474173355_86151
==> default: Preparing network interfaces based on configuration...
    default: Adapter 0: shared
==> default: Clearing any previously set network interfaces...
==> default: Forwarding ports...
    default: 2375 => 2375
==> default: Setting power consumption mode: "Longer battery life"
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 10.211.55.19:22
    default: SSH username: docker
    default: SSH auth method: private key
Text will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.
[email protected]'s password:

from boot2docker-vagrant-box.

legal90 avatar legal90 commented on July 3, 2024

@EloB this is a strange floating issue, which I've faced with too. It doesn't depend on version of box, Vagrant or Parallels Desktop.
Password is required occasionally and we can just skip it by multiple pressing "Enter" - the process will be process. After that vagrant ssh is working fine, which means that there are no authentication issues.

I've also figured out that it is not specific to Parallels provider:
hashicorp/vagrant#5153
mitchellh/boot2docker-vagrant-box#79 (comment)

from boot2docker-vagrant-box.

EloB avatar EloB commented on July 3, 2024

Okay 👍

from boot2docker-vagrant-box.

nunofgs avatar nunofgs commented on July 3, 2024

How do I solve the SSL issue?

Using the official instructions I was able to bring the machine up but then I get this:

❯ docker ps
FATA[0000] Couldn't read ca cert /Users/xxx/test/.docker/ca.pem: open /Users/xxx/test/.docker/ca.pem: no such file or directory

Do I generate the certificate myself and place it there? If so, can someone add clear instructions to the README?

from boot2docker-vagrant-box.

legal90 avatar legal90 commented on July 3, 2024

@nunofgs TLS/SSL stuff is disabled in our box (#8 (comment))
Please, ensure that env variable DOCKER_TLS_VERIFY is unset or equals 0

export DOCKER_TLS_VERIFY=0

from boot2docker-vagrant-box.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.