# GPU-Docker-API-Official ## Docs - [ReplicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/folder-28188605.md): - [Volume](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/folder-28188606.md): ## API Docs - ReplicaSet [Run a container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323396.md): Run a container consists of two parts: create and start. - ReplicaSet [Commit container as an image via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323397.md): Commit replicaSet the current version of the container as an image. - ReplicaSet [Execute a command in the container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323406.md): Execute a command in the replicaSet current version of the container. - ReplicaSet [Patch a container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323400.md): Patch the configuration of the latest version of existing container via create a new container and copy the old container system data to the new container. - ReplicaSet [Rollback a container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323399.md): Rollback replicaSet the current version of the container toa specific version. - ReplicaSet [Stop a container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323401.md): Stop the current version of the replicaSet container, gpu and port will be released. - ReplicaSet [Restart a container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323404.md): Restart the current version of the replicaSet container by recreate a container, it will reapply gpu and port. - ReplicaSet [Pause a replicaSet via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323402.md): Pause the current version of the replicaSet container, gpu and port will not be release. - ReplicaSet [Continue a replicaSet via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323403.md): Continue to run the current version of the replicaSet container, it will call `docker restart`. - ReplicaSet [ Get version info about replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323408.md): Get information about the current version of the replicaset, which you can use to see the port number that the container exposes to the host or other information when the cotainer was created. - ReplicaSet [Get all version info about replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323409.md): Get information about all historical versions of the replicaSet. - ReplicaSet [Delete a container via replicaSet](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323407.md): Delete a replicaSet also delete the container and cannot be recovered. - Volume [Create a volume](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323410.md): Create a volume, you can specify the size and name. - Volume [Patch a volume](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323412.md): Patch the size of the latest version of an existing volume via create a new volume and copy the old volume data to the new volume. - Volume [Get version info about a volume](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323413.md): Get information about the current version of the volume. - Volume [Get all version info about a volume](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143979123.md): Get information about all historical versions of the volume. - Volume [Delete a volume](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323411.md): Delete a volume. - Resource [Get gpu usage status](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323414.md): 0 means not used, 1 means used. - Resource [Get port usage status](https://apifox.com/apidoc/shared/cca36339-a3f1-4f6b-b8fe-4274ef3529ec/api-143323415.md):