Replace moby build with linuxkit build throughout

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-11-20 14:15:37 +00:00
parent ca0b1309b0
commit f8e352d375
345 changed files with 364 additions and 368 deletions

View File

@@ -67,7 +67,7 @@ To generate the kernel image called `clear-containers-bzImage`, enter the
following command:
```
./bin/moby build ./projects/clear-containers/clear-containers.yml
./bin/linuxkit build ./projects/clear-containers/clear-containers.yml
```
3. Test kernel

View File

@@ -26,7 +26,7 @@ qemu-lite: docker_image $(KERNEL_FILE) $(CMDLINE_FILE)
bash
$(KERNEL_FILE):
$(MKFILE_DIR)/../../../bin/moby build $(MKFILE_DIR)/../clear-containers.yml
$(MKFILE_DIR)/../../../bin/linuxkit build $(MKFILE_DIR)/../clear-containers.yml
push: docker_image
docker push clearcontainers/$(IMAGE)

View File

@@ -22,11 +22,11 @@ push: tag
dynamic:
mkdir -p dist
moby build -name compose-dynamic -dir dist/ compose-dynamic.yml
linuxkit build -name compose-dynamic -dir dist/ compose-dynamic.yml
static: cache-images
mkdir -p dist
moby build -name compose-static -dir dist/ compose-static.yml
linuxkit build -name compose-static -dir dist/ compose-static.yml
run-dynamic:
linuxkit run dist/compose-dynamic

View File

@@ -85,7 +85,7 @@ docker run --rm -ti etcd.local etcdctl member list
docker run --rm -ti etcd.local etcdctl cluster-health
```
You can perform rolling updates, by for example, switching the kernel version in `etcd.yml`, build a new moby, e.g., `moby build -name etcd-4.10 etcd`, update `infrakit.json`, and then commit the new configuration to InfraKit: `infrakit group commit infrakit.json`.
You can perform rolling updates, by for example, switching the kernel version in `etcd.yml`, build a new moby, e.g., `linuxkit build -name etcd-4.10 etcd`, update `infrakit.json`, and then commit the new configuration to InfraKit: `infrakit group commit infrakit.json`.
## Infrakit GCP setup

View File

@@ -3,7 +3,7 @@ run: ima-namespace-kernel
../../bin/linuxkit run ima-namespace
ima-namespace-kernel: ima-namespace.yml
../../bin/moby build -format kernel+initrd ima-namespace
../../bin/linuxkit build -format kernel+initrd ima-namespace
.PHONY: clean
clean:

View File

@@ -50,7 +50,7 @@ the hardware support is available.
development directions.
- We are also packaging up the Alpine `dhcpcd` with the same configuration conventions
as the MirageSDK replacement, so that they can swapped in a `moby build` with a single
as the MirageSDK replacement, so that they can swapped in a `linuxkit build` with a single
line change in the YAML file.
- We will engage external reviewers on the security architecture once we have the first
@@ -63,6 +63,6 @@ the hardware support is available.
# Getting Started
```
../../bin/moby build examples/mirage-dhcp.yml`
../../bin/linuxkit build examples/mirage-dhcp.yml`
../../bin/linuxkit run mirage-dhcp
```