Another issue with the rkt containers is the port-mapping. Each container
defines exposed ports:
"ports": [
{
"name": "http",
"protocol": "tcp",
"port": 80,
"count": 1,
"socketActivated": false
},
]
These are than mapped using the "name" from the definition:
--port= ports to expose on the host (requires contained
network). Syntax: --port=NAME:[HOSTIP:]HOSTPORT
The problem now is that the xml defines the port to be a number:
<attribute name="port"><data type="integer"/></attribute>
Workaround is to use "80" as a port name, but perhaps we could allow
port to be a string or introduce a new attribute:
<port-mapping id="httpd-port" port-name="http"/>
What do you think?
--
Valentin
_______________________________________________
Developers mailing list
[email protected]
http://lists.clusterlabs.org/mailman/listinfo/developers