add pipework catalog
This commit is contained in:
parent
de9f12bd39
commit
91b8ba2fae
30
infra-templates/pipework/0/README.md
Normal file
30
infra-templates/pipework/0/README.md
Normal file
@ -0,0 +1,30 @@
|
||||
# Pipework
|
||||
|
||||
*Software-Defined Networking for Linux Containers*
|
||||
|
||||
## Description
|
||||
|
||||
* GitHub: [jpetazzo/pipework](https://github.com/jpetazzo/pipework)
|
||||
* Docker Hub: [dreamcat4/pipework](https://hub.docker.com/r/dreamcat4/pipework/)
|
||||
|
||||
By this catalog, to configure more flexible container network is available.
|
||||
Good example of this, there is multiple container networks.
|
||||
|
||||
## Deployment
|
||||
|
||||
1. Select the template from the catalog.
|
||||
2. Click `Launch`.
|
||||
|
||||
## Usage
|
||||
|
||||
To deploy a container having two NICs as an example, deploy it by the following steps.
|
||||
|
||||
1. Create *Stack*.
|
||||
* Already created *Stack* is available.
|
||||
2. Create *Service*.
|
||||
* Already created *Service* is available.
|
||||
3. Set *Environment*.
|
||||
* pipework_cmd_0: eth0 -i eth0 @CONTAINER_NAME@ 192.168.1.101/24 02:42:c0:a8:01:65@100
|
||||
* pipework_cmd_1: eth1 -i eth0 @CONTAINER_NAME@ 192.168.2.101/24 02:42:c0:a8:02:65@200
|
||||
|
||||
You can see the more details from [dreamcat4/pipework](https://github.com/dreamcat4/docker-images/tree/master/pipework).
|
19
infra-templates/pipework/0/docker-compose.yml
Normal file
19
infra-templates/pipework/0/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: '2'
|
||||
services:
|
||||
pipework:
|
||||
privileged: true
|
||||
image: dreamcat4/pipework:1.1.6
|
||||
stdin_open: true
|
||||
network_mode: host
|
||||
volumes:
|
||||
- /var/run/docker.sock:/docker.sock
|
||||
tty: true
|
||||
pid: host
|
||||
environment:
|
||||
run_mode: batch,daemon
|
||||
labels:
|
||||
io.rancher.container.pull_image: always
|
||||
io.rancher.container.hostname_override: container_name
|
||||
io.rancher.container.agent.role: environmentAdmin
|
||||
io.rancher.container.create_agent: 'true'
|
||||
io.rancher.scheduler.global: 'true'
|
11
infra-templates/pipework/0/rancher-compose.yml
Normal file
11
infra-templates/pipework/0/rancher-compose.yml
Normal file
@ -0,0 +1,11 @@
|
||||
.catalog:
|
||||
name: "Pipework"
|
||||
description: |
|
||||
"Software-Defined Networking for Linux Containers"
|
||||
version: v0.1.0
|
||||
minimum_rancher_version: v1.6.10
|
||||
maintainer: "Hayahito Kawamitsu <halation3@gmail.com>"
|
||||
version: '2'
|
||||
services:
|
||||
pipework:
|
||||
start_on_create: true
|
BIN
infra-templates/pipework/catalogIcon-pipework.png
Normal file
BIN
infra-templates/pipework/catalogIcon-pipework.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 26 KiB |
7
infra-templates/pipework/config.yml
Normal file
7
infra-templates/pipework/config.yml
Normal file
@ -0,0 +1,7 @@
|
||||
name: Pipework
|
||||
description: |
|
||||
Software-Defined Networking for Linux Containers
|
||||
version: v0.1.0
|
||||
category: Network
|
||||
maintainer: community
|
||||
license:
|
Loading…
x
Reference in New Issue
Block a user