12
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[CentOS] Docker の Remote API を HTTP 経由で使えるようにする

Posted at

/etc/sysconfig/docker ファイルに以下を追記します。

other_args="-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock"

備考

/etc/sysconfig/docker ファイルは /etc/init.d/docker スクリプトの冒頭にて source されます。

12
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?