mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 19:05:37 +00:00
gcp: Switch GCP to the new metadata package
Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
a21c566777
commit
27a3eee6dc
@ -26,14 +26,14 @@ onboot:
|
|||||||
- CAP_NET_RAW
|
- CAP_NET_RAW
|
||||||
net: host
|
net: host
|
||||||
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
- name: metadata-gcp
|
- name: metadata
|
||||||
image: "mobylinux/metadata-gcp:7fc3dd5ef92e0408fb3f76048bbaae88bbb55ad9"
|
image: "mobylinux/metadata:5c64c2305040009891b713df22bd4bae7894c3ec"
|
||||||
binds:
|
binds:
|
||||||
- /tmp:/etc/ssh
|
- /dev:/dev
|
||||||
|
- /var:/var
|
||||||
- /tmp/etc/resolv.conf:/etc/resolv.conf
|
- /tmp/etc/resolv.conf:/etc/resolv.conf
|
||||||
readonly: true
|
readonly: true
|
||||||
net: host
|
net: host
|
||||||
uts: host
|
|
||||||
capabilities:
|
capabilities:
|
||||||
- CAP_SYS_ADMIN
|
- CAP_SYS_ADMIN
|
||||||
services:
|
services:
|
||||||
@ -50,7 +50,7 @@ services:
|
|||||||
net: host
|
net: host
|
||||||
pid: host
|
pid: host
|
||||||
binds:
|
binds:
|
||||||
- /tmp/authorized_keys:/root/.ssh/authorized_keys
|
- /var/config/ssh/authorized_keys:/root/.ssh/authorized_keys
|
||||||
- /tmp/etc/resolv.conf:/etc/resolv.conf
|
- /tmp/etc/resolv.conf:/etc/resolv.conf
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: "nginx:alpine"
|
image: "nginx:alpine"
|
||||||
|
Loading…
Reference in New Issue
Block a user