Skip to content

Commit

Permalink
integrated docker container starting and stopping via dockerode, inte…
Browse files Browse the repository at this point in the history
…grated hasgpu option when starting docker container.
  • Loading branch information
jeryongchan committed Jan 15, 2024
1 parent 8a2ca7c commit 5ae2ebf
Show file tree
Hide file tree
Showing 20 changed files with 608 additions and 175 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module.exports = {
'camelcase': 'off',
'no-else-return': 'off',
'consistent-return': 'off',
'no-use-before-define': 'off',
'no-await-in-loop': 'off',
"no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
'react/function-component-definition': [
2,
Expand Down
12 changes: 10 additions & 2 deletions src/common/channels.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
const Channels = {
OPEN_LINK_PLEASE: 'openLinkPlease',
OPEN_WINDOW: 'message:loginShow',
STORE_GET: 'electron-store-get',
STORE_SET: 'electron-store-set',
REMOVE_EXECUTOR_CONTAINER: 'remove-executor-container',
REMOVE_EXECUTOR_CONTAINER_RESPONSE: 'remove-executor-response',
RUN_EXECUTOR_CONTAINER_RESPONSE: 'run-executor-container-response',
RUN_EXECUTOR_GPU_CONTAINER: 'remove-executor-gpu-container',
RUN_EXECUTOR_GPU_CONTAINER_RESPONSE: 'run-executor-container-gpu-response',
RUN_EXECUTOR_CONTAINER: 'run-executor-container',
CHECK_CONTAINER_GPU_SUPPORT: 'check-container-gpu-support',
CHECK_CONTAINER_GPU_SUPPORT_RESPONSE: 'check-container-gpu-support-response',
CHECK_CONTAINER_EXIST: 'check-container-exist',
CHECK_CONTAINER_EXIST_RESPONSE: 'check-container-exist-response',
APP_CLOSE_INITIATED: 'app-close-initiated',
APP_CLOSE_CONFIRMED: 'app-close-confirmed',
APP_RELOAD_INITIATED: 'app-reload-initiated',
Expand Down
Loading

0 comments on commit 5ae2ebf

Please sign in to comment.