How to create custom container that exposes a listening port?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

with the custom container service it is possible to deploy other
services with the cephadm orchestrator:
https://docs.ceph.com/en/reef/cephadm/services/custom-container/

The application inside the container wants to listen to a port
(say 8080/tcp).

How do I tell podman to publish this port?

I tried adding this to the service specification:

extra_container_args:
  - "--publish 8080/tcp"

but this results in this error:

Error EINVAL: ServiceSpec: __init__() got an unexpected keyword argument 'extra_container_args'

https://docs.ceph.com/en/reef/cephadm/services/#extra-container-arguments

Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 220009 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux