Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

dockerとgolangに関するkimutanskのブックマーク (2)

  • Dockerコンテナに入るなら SSH より nsinit が良さそう - Gosuke Miyashita

    追記 はてブでつっこみもらいました が、実行するカレントディレクトリは /var/lib/docker/execdriver/native/$id を使うのが正しいようです。(情報読み違えてた。)こちらには container.json があるので、ソースツリーからコピーしてくる必要ないですね。 また、コンテナ ID 取得は、docker ps -q --no-trunc の方が良い、とも教えていただきました。 つっこみにしたがって、最後の方の説明とシェル関数書き換えました。 つっこみありがとうございます! tl; dr タイトルまま 経緯 Docker でつくったコンテナの中に入って状態を確認するために、コンテナ内で sshd を立ち上げてアクセスする、ってなことを以前やってたんですが、コンテナ内で sshd を立ち上げる、というやり方がいまいちだし、そもそもコンテナの仕組みから考えれば

    kimutansk
    kimutansk 2014/06/23
    単純にSSHで接続して入るのではなくて、こういう手段もあったんですね。コンテナの名前空間に入るわけ・・ですかね
  • Docker and Go: why did we decide to write Docker in Go?

    Docker and Go: why did we decide to write Docker in Go? Docker is currently one of the most popular Go projects. After a (quick) Docker intro, we will discuss why we picked Go, and how it turned out for us. We tried to list all the drawbacks and minor inconveniences that we met while developing Docker; not to complain about Go, but to give the audience an idea of what to expect. Depending on your

    Docker and Go: why did we decide to write Docker in Go?
    kimutansk
    kimutansk 2013/11/12
    OSに近い領域を扱う際に安定した動作とそれなりにモダンなコーディングを両立させたければGo言語は選択肢として有用なんですかね。。。
  • 1