0

I am in the process of simulating a distributed system using LXC (LinuX Containers). I understand that there is a config file where i specify all the things like hostname etc. then i can start a container. But how do I run my code in that container. What are the steps?

What I am trying to do:

I need to create multiple containers interacting with each other using containers. I also need to write a 'master' container which will keep a tab on the various processes that are running inside the containers and also maintain a table of the interprocess communication messages that are happening ..

Community
  • 1
  • 1
Chani
  • 5,055
  • 15
  • 57
  • 92
  • 1
    Have you looked at the documentation for LXC? Seems like that would be a fundamental feature. – wallyk Nov 06 '11 at 18:04
  • @wallyk yes, I am (for the last hour) the problem is i cant find a straightforward explanation or steps to do it. – Chani Nov 06 '11 at 18:18
  • Did you see [this one](http://blog.bodhizazen.net/linux/lxc-linux-containers/)? – wallyk Nov 06 '11 at 23:52

1 Answers1

0

After attaching a address to the container, that address can be used for networking.

Chani
  • 5,055
  • 15
  • 57
  • 92