Được TopGit lập chỉ mục từ metadata GitHub: weaveworks/footloose có 1.6k sao, viết chủ yếu bằng Go. Container Machines - Containers that look like Virtual Machines
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
This repository is no longer maintained. For a more up-to-date way to manage microVMs, please take a look at Flintlock.
footloose
footloose creates containers that look like virtual machines. Those
containers run systemd as PID 1 and a ssh daemon that can be used to login
into the container. Such "machines" behave very much like a VM, it's even
possible to run dockerd in them :)
footloose can be used for a variety of tasks, wherever you'd like virtual
machines but want fast boot times or need many of them. An easy way to think
about it is: Vagrant, but with containers.
footloose in action:
Install
footloose binaries can be downloaded from the release page:
brew tap weaveworks/tap
brew install weaveworks/tap/footloose
From source
Alternatively, build and install footloose from source. It requires having
go >= 1.11 installed:
GO111MODULE=on go get github.com/weaveworks/footloose
Usage
footloose reads a description of the Cluster of Machines to create from a
file, by default named footloose.yaml. An alternate name can be specified on
the command line with the --config option or through the FOOTLOOSE_CONFIG
environment variable.
The config command helps with creating the initial config file:
# Create a footloose.yaml config file. Instruct we want to create 3 machines.
footloose config create --replicas 3
It only takes a second to create those machines. The first time create
runs, it will pull the docker image used by the footloose containers so it
will take a tiny bit longer.
SSH into a machine with:
$ footloose ssh root@node1
[root@1665288855f6 ~]# ps fx
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 /sbin/init
23 ? Ss 0:00 /usr/lib/systemd/systemd-journald
58 ? Ss 0:00 /usr/sbin/sshd -D
59 ? Ss 0:00 \_ sshd: root@pts/1
63 pts/1 Ss 0:00 \_ -bash
82 pts/1 R+ 0:00 \_ ps fx
62 ? Ss 0:00 /usr/lib/systemd/systemd-logind
Choosing the OS image to run
footloose will default to running a centos 7 container image. The --image
argument of config create can be used to configure the OS image. Valid OS
images are:
footloose config create creates a footloose.yaml configuration file that is then
used by subsequent commands such as create, delete or ssh. If desired,
the configuration file can be named differently and supplied with the
-c, --config option.
The container names are derived from cluster.name and
cluster.machines[].name.
They run systemd as PID 1, it's even possible to inspect the boot messages:
$ docker logs cluster-node1
systemd 219 running in system mode.
Detected virtualization docker.
Detected architecture x86-64.
Welcome to CentOS Linux 7 (Core)!
Set hostname to <1665288855f6>.
Initializing machine ID from random generator.
Failed to install release agent, ignoring: File exists
[ OK ] Created slice Root Slice.
[ OK ] Created slice System Slice.
[ OK ] Reached target Slices.
[ OK ] Listening on Journal Socket.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Reached target Swap.
[ OK ] Reached target Paths.
Starting Journal Service...
[ OK ] Started Create Volatile Files and Directories.
[ OK ] Started Journal Service.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting OpenSSH Server Key Generation...
Starting Cleanup of Temporary Directories...
[ OK ] Started Cleanup of Temporary Directories.
[ OK ] Started OpenSSH Server Key Generation.
Starting OpenSSH server daemon...
[ OK ] Started OpenSSH server daemon.
[ OK ] Reached target Multi-User System.
Run real VMs with Ignite
FAQ
Is footloose just like LXD?
In principle yes, but it will also work with Docker container images and
on MacOS as well.
Help
We are a very friendly community and love questions, help and feedback.
If you have any questions, feedback, or problems with footloose:
Check out the examples.
Join the discussion
Invite yourself to the Weave community Slack.
Ask a question on the #footloose Slack channel.
Join the Weave User Group and get invited to online talks, hands-on training and meetups in your area.
File an issue.
Weaveworks follows the CNCF Code of Conduct. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting a Weaveworks project maintainer, or Alexis Richardson ([email protected]).
weaveworks/footloose thuộc nhóm Developer Tools trên TopGit, cùng 4 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về weaveworks/footloose ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/weaveworks/footloose là nguồn chính thức.
Vì sao weaveworks/footloose được xếp vào nhóm Developer Tools?
TopGit xếp weaveworks/footloose vào nhóm Developer Tools dựa trên GitHub topics và mô tả của repo (gắn thẻ: "containers", "docker", "virtual-machine"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
weaveworks/footloose có bao nhiêu sao?
weaveworks/footloose có 1.6k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/weaveworks/footloose. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
weaveworks/footloose có những chủ đề gì?
GitHub topics của weaveworks/footloose: "containers", "docker", "virtual-machine", "vm". TopGit xếp repo vào nhóm Developer Tools.
weaveworks/footloose còn đang phát triển không?
Commit gần nhất trên weaveworks/footloose là 3.0 năm trước (theo timestamp GitHub). Repo có 117 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
weaveworks/footloose viết bằng ngôn ngữ gì?
weaveworks/footloose chủ yếu viết bằng Go. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Chưa chắc footloose có hợp với bạn?
Để ChatGPT, Claude hoặc Perplexity tìm hiểu giúp — bấm bên dưới và xem AI nói gì về footloose.