GithubHelp home page GithubHelp logo

how can i run docker for mac about streem HOT 16 CLOSED

matz avatar matz commented on June 2, 2024
how can i run docker for mac

from streem.

Comments (16)

henriquemoody avatar henriquemoody commented on June 2, 2024

http://boot2docker.io/

from streem.

henriquemoody avatar henriquemoody commented on June 2, 2024

You can use boot2docker.

from streem.

i5ting avatar i5ting commented on June 2, 2024

thanks @henriquemoody ,i use boot2docker good for other dockfile,but can't run

streem git:(master) docker pull debian   
2014/12/16 22:36:27 Cannot connect to the Docker daemon. Is 'docker -d' running on this host?

from streem.

nicolasgarnier avatar nicolasgarnier commented on June 2, 2024

mhhh same here... On Mac.

from streem.

larruda avatar larruda commented on June 2, 2024

Hey guys, I got the same problem and I finally managed to solve the issue!!
It's because running on a Mac needs that tiny VM and it turns out that VirtualBox sleeping feature makes the VM's clock fail to synchronise. In order to fix that you need first to ssh into the VM by running boot2docker ssh and then within the machine run sudo ntpclient -s -h pool.ntp.org. Make sure the date is synced by running date. Then you should be ready to go! :D

References:
boot2docker/boot2docker#69
https://github.com/beechnut/boot2docker-ntp

from streem.

steve0hh avatar steve0hh commented on June 2, 2024

@larruda I still get this error. even after syncing my time in my boot2docker image thou.

from streem.

gservat avatar gservat commented on June 2, 2024

The SSL certificate on https://index.docker.io does look expired...

from streem.

drish avatar drish commented on June 2, 2024

same here, and my date seems to be ok.

from streem.

schmunk42 avatar schmunk42 commented on June 2, 2024

Had this issue with a vagrant box, syncing time ntpdate on the docker host fixed it.

from streem.

drish avatar drish commented on June 2, 2024

yeah, I fixed it here too (vagrant box) @schmunk42 , thx. I used dpkg-reconfigure tzdata

from streem.

gservat avatar gservat commented on June 2, 2024

The certificate was expired but they fixed it.

from streem.

steve0hh avatar steve0hh commented on June 2, 2024

Yep. See moby/moby#11534

from streem.

bensonmiller avatar bensonmiller commented on June 2, 2024

Thanks @larruda. I had this problem when I woke boot2docker after a long nap. The ntpdate fix worked perfectly.

from streem.

trenpixster avatar trenpixster commented on June 2, 2024

Thanks @larruda, also worked for me 👍

from streem.

niklokz avatar niklokz commented on June 2, 2024

Update the clock solved for me.

from streem.

matz avatar matz commented on June 2, 2024

May I close this issue?

from streem.

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.