View Logs
-
- Logs for {container.name}
-
+ Logs for {container.name}
)}
{permissions?.docker.read && (
-
- Containers
-
+ Containers
)}
{permissions?.service.create && (
Backups
diff --git a/packages/server/src/services/docker.ts b/packages/server/src/services/docker.ts
index 6c7e379c0..e49adbb94 100644
--- a/packages/server/src/services/docker.ts
+++ b/packages/server/src/services/docker.ts
@@ -447,10 +447,7 @@ export const containerStart = async (
}
};
-export const containerStop = async (
- containerId: string,
- serverId?: string,
-) => {
+export const containerStop = async (containerId: string, serverId?: string) => {
const command = `docker container stop ${containerId}`;
const { stderr } = serverId
? await execAsyncRemote(serverId, command)
@@ -462,10 +459,7 @@ export const containerStop = async (
}
};
-export const containerKill = async (
- containerId: string,
- serverId?: string,
-) => {
+export const containerKill = async (containerId: string, serverId?: string) => {
const command = `docker container kill ${containerId}`;
const { stderr } = serverId
? await execAsyncRemote(serverId, command)