Service Host Entry¶
Create custom host entries (/etc/hosts) that link to other linked images in the same project. This is intended to support backwards compatibility with docker compose.
List all host entries¶
GET /api/container_services/{container-service-id}/host_entries
OAuth Authorization Required: projects_read
Schema
host_entries: Arrayhostname: Stringipaddr: Stringkeep_updated: Boolean | If true, will look forsource_imagein project.source_image: Objectid: Integerlabel: String
created_at: DateTimeupdated_at: DateTime
View host entry¶
GET /api/container_services/{container-service-id}/host_entries/{id}
OAuth Authorization Required: projects_read
Schema
host_entries: Objecthostname: Stringipaddr: Stringkeep_updated: Boolean | If true, will look forsource_imagein project.source_image: Objectid: Integerlabel: String
created_at: DateTimeupdated_at: DateTime
Update Host Entry¶
PATCH /api/container_services/{container-service-id}/host_entries/{id}
OAuth Authorization Required: projects_write
Schema
host_entry: Objecthostname: Stringipaddr: Stringkeep_updated: Boolean | If true, will look forsource_imagein project.
Create host entry¶
POST /api/container_services/{container-service-id}/host_entries
OAuth Authorization Required: projects_write
Schema
host_entry: Objecthostname: Stringipaddr: String
Delete host entry¶
DELETE /api/container_services/{container-service-id}/host_entries/{id}
OAuth Authorization Required: projects_write