Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
12
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

Organization

Docker 超入門 〜 Boot2Docker 導入から HelloWorld まで〜

:black_square_button: boot2docker インストール

brew install boot2docker

:black_square_button: 初期化やら設定やら

boot2docker init
boot2docker start
$(boot2docker shellinit)

:black_square_button: とりあえず、Hello World

docker run ubuntu echo hello world

hello world

:black_square_button: 番外編:こんなエラー出たら?

FATA[0000] Post http:///var/run/docker.sock/v1.16/containers/create: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS?

環境変数の初期化を忘れてましたね。。。

$(boot2docker shellinit)

で解消。

:black_square_button: Special Thanks

Mac OSXでDocker(インストール編)

:black_square_button: 雑記

これぐらいの内容でエントリ書くなよって感じが満載ですが、これは次のエントリを書くための前準備になるので、一応記事として残しますた。。。
こんな記事でもお役にたてれば幸いです。。。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
12
Help us understand the problem. What are the problem?