You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
This guide is based on an old version of Docker. The instructions you find below may be already removed or changed in the Docker codebase. In my last blog post I explained how to run a Docker installation across multiple hosts. In the comments I was asked if it would be possible to use a DHCP server to assign IPs to the containers. I thought immediately — why not? In fact, assigning IPs using DHCP
米Red Hatは、年次カンファレンス「Red Hat Summit 2014」において、Red Hat Enterprise Linux(RHEL)の次期バージョン「7」の詳細を明らかにした。特定のOSに依存する要素を抽象化する「コンテナ」が注目技術の筆頭だ。 物理サーバー、仮想サーバー、プライベートクラウド、パブリッククラウド…。IT基盤のタイプを問わずアプリケーションを稼働させ、かつ自由に移動して稼働させられるようにする─。米レッドハットは、主力OSであるLinuxの次期バージョンに、こんな機能を盛り込むことを発表した。開催中の年次カンファレンス、「Red Hat Summit 2014」(2014年4月14~17日、米サンフランシスコ)で公表した。 同社によると、特定のITインフラを想定する必要がないのでアプリケーションの展開(デプロイ)が容易になる、アプリケーション運用を効率化で
dokkuを普段持ち歩いてるMacbook AirのVirtualBoxのUbuntu12.04に入れた。 dokkuはDocker環境をセットアップしてくれて、そこに個人用のHerokuのようなものを建立してくれる。 dokku本体は100行ぐらいのshellscriptで実装されている。そこから作者のprogrium氏が作った色々なツールが呼び出されるので、実体としてはもっと大きいけど。 vagrantとかchefとか全く使わずに、アプリをgit pushするとVMが建つ環境が簡単に作れる。 gitのhookでdockerコンテナが作られて、フロントのnginxのproxyが設定されて、websocketも通る。 コンテナ構築にはherokuのbuildpackが使われているので、アプリの内容に応じて自動的にnodeとかrubyとかの環境がセットアップされる。 buildpackはhe
Stéphane Graber stgraber at ubuntu.com Thu Feb 20 19:20:09 UTC 2014 Previous message: [lxc-devel] [lxc/lxc] 223b1e: change version to 1.0.0 in configure.ac Next message: [lxc-devel] LXC 1.0 has been released! Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hello everyone, It's with great pleasure that the LXC development team is announcing the release of LXC 1.0! This release is a s
Simplicity and elegance are unpopular because they require hard work and discipline to achieve and education to be appreciated. — Edsger W. Dijkstra Here we are going create an lxc debian container for it's squeeze/testing release (see also Setup LXC container): Choose Packages We will setup debian base minimal configuration, however you can customize which packages you would like to have installe
Quite a few people have been asking for a status update of LXC in Ubuntu as of Ubuntu 12.04 LTS. This post is meant as an overview of the work we did over the past 6 months and pointers to more detailed blog posts for some of the new features. What’s LXC? LXC is a userspace tool controlling the kernel namespaces and cgroup features to create system or application containers. To give you an idea: F
2011/05/29 執筆中。。。 2011/05/31 コンテナの起動まで書きました! 2011/06/06 cgroups の設定例を追加。これでひとまず完成(?) 2011/06/14 cgroups 設定例に /dev/tty* のアクセス権追加 どうも時代はコンテナらしい・・・ということで、RHEL6.0 + LXC でのコンテナ型の仮想化の方法をまとめていきます。 Linux Study Tokyo #2の発表資料「LXCで始めるケチケチ仮想化生活?!」も参考にしてください。 コンテナとは? 概念的というか実装的には、chroot jail の延長と考えると理解しやすいと思います。 chroot jail の場合は、ファイルシステムの見える範囲をプロセスごとに制限することでプロセス間の擬似的な独立性を実現します。ただし、ネットワークソケットなど、ファイルシステム以外のリソースは
This PPA contains the latest build of: - CGManager (master git branch) - LXC (master git branch) - LXCFS (master git branch) - LXD (master git branch) As well as any required dependencies of the above. This PPA is meant mostly at developers of the aforementioned projects or for debugging or testing purposes. Please do not use those packages in production. Adding this PPA to your system You can upd
Scenario: KVM virtualization host running several bridged guests. The host has a bridge interface br0 that starts out containing only eth0, and other interfaces are dynamically added and removed from the bridge as guests are started and stopped. The problem is, the host seems to randomly suffer some loss of connectivity (from a few to 30-40 seconds) when some guest is started or stopped. Initially
Ubuntu 12.04 LTSの目標の一つは、LXC(Linux Containers)の充実でした。11.04の頃から本格的にサポートを開始したLXCは、かんたんに軽量な仮想環境を作成できるとあって、アプリケーションのテスト環境やJujuのようなクラウドマシンの生成ツールでも使われています。 さらに今回のリリースでは、x86マシン上でARMの実行環境を生成できるようになりました。そこで今回は、UbuntuにおけるLXCの基本的な使い方を紹介します。 LXCで仮想環境を作る LXCはLinuxカーネルのControl GroupやNamespaceという機能を使って、ホストOSとは隔離された環境を作るツールです。LXCのパッケージにはテンプレートという形で各OSの最小構成のrootfs環境を作るスクリプトも付属しているため、VirutalBoxやXenのようにコマンドラインから簡単に仮想
Installation Typically required packages are lxc, debootstrap and bridge-utils (the latter two are recommended by the lxc package). libvirt-bin is optional. apt install lxcOptionally: apt install libvirt-binIf you want LXC to run unprivileged container(s), the package requirements are slightly different. apt-get install lxc libvirt0 libpam-cgfs bridge-utils uidmap(Note: libpam-cgfs is unnecessary
I have chosen to put all virtual machines in a /mnt/vm folder, for which I've created a separate partition. Here I will put the virtual machine files, configs and scripts. Making a template out of your container saves you a lot of time when you need to add an extra container. creating a lxc container template from scratch (using debootstrap) Install debootstrap: apt-get install debootstrap Downloa
最近、LinuxのLXCで遊んでいる。Linux上にはVServerやOpenVZというコンテナ技術がすでに存在するのに、なぜLXCなのか。カーネル2.6.29でメインラインへのマージが完了しているので(残っているホットな話題の一つはチェックポイント・リスタートか)、カーネルパッチが不要になのと同時に、将来性がありそうだから。現時点で実戦投入するには、機能的に物足りないし、安定性も未知数だけど、時間誰かが解決してくれそうな気がする。と思っている割にはドキュメントが少ないのは、なぜだろう? コンテナ技術の肝は、コンテナ間の隔離、資源管理をどう実現するかにあるが、この点は名前空間の導入と、cgroup(control group)の利用で実現している。LXCの実装の経緯はよく知らないが(フランスのIBMの人たちが開発していたMetaClusterプロジェクトが基になったらしい)、名前空間の実装
だいぶ間が開いてしまいましたが、このあいだのエントリの続きです。 せっかく作ったLXCコンテナですが、このままだと外部のネットワークから直接アクセスすることができず、いったんホストコンピュータ上にアクセスしてからでないとログインできません。 これではつまらないので、インターネットから直接アクセスできるように設定をします。とは言ってもグローバルIPアドレスは一つしかないので、iptablesのDNAT(Destination Network Address Translation、あて先ネットワークアドレス変換)という機能を使って、ホストコンピュータの12200番ポートへのアクセスをLXCコンテナの22番ポートに転送することで、 $ ssh -p 12200 ホストコンピュータのIPアドレス とすることでsshアクセスできるようになります。iptablesの設定は $ sudo iptabl
Gentoo Linux の中に ArchLinux な LXC 環境を作る手順。 kernel の config やら bridge の作成やら cgroup の mount やらといった、 ホスト側の準備は終わっているとする。 ArchLinux のインストール Install from Existing Linux を参考に普通の chroot 環境を作る: # emerge pacman # vim /etc/pacman.conf # diff -u /etc/pacman.conf{.orig,} --- /etc/pacman.conf.orig 2010-06-09 23:43:37.382367697 +0900 +++ /etc/pacman.conf 2010-06-09 23:33:09.438364694 +0900 @@ -16,7 +16,7 @@ HoldP
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く