Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dspace-angular container not listening at port 4000? #1123

Open
simongray opened this issue Sep 5, 2024 · 7 comments
Open

dspace-angular container not listening at port 4000? #1123

simongray opened this issue Sep 5, 2024 · 7 comments

Comments

@simongray
Copy link

I have attempted to follow the guide for the new Docker-based Clarin to set up a local instance: https://github.com/ufal/clarin-dspace/wiki/NewInstallation

The dspace-angular container doesn't seem to get set up correctly in the process. The last output I get in the logs is this:

2024-09-05 10:31:02 
2024-09-05 10:31:02 
2024-09-05 10:31:02 
2024-09-05 10:31:02 ** Angular Live Development Server is listening on dspace-angular:4000, open your browser on http://dspace-angular:4000/ **
2024-09-05 10:31:02 
2024-09-05 10:31:02 
2024-09-05 10:31:02 ✔ Compiled successfully.
⠙ Generating browser application bundles (phase: building)...[nodemon] clean exit - waiting for changes before restart

However, nothing is actually listening on port 4000, neither on the host nor if I exec into the container's own shell and run e.g. curl localhost:4000 or curl dspace-angular:4000.

I'm trying to run this using the latest version of Docker Desktop for Mac on my Intel Mac. I am also reasonably familiar with Docker and Docker Compose FYI, but I have no experience using Angular.

@kosarko
Copy link
Member

kosarko commented Sep 6, 2024

@simongray does the FE start for you like this:

docker run --pull=always -p 4000:4000 -e DSPACE_UI_HOST=0.0.0.0 -e DSPACE_UI_NAMESPACE=/ -e DSPACE_UI_PORT="4000" -e DSPACE_UI_SSL="false" --rm --entrypoint 'yarn' ufal/dspace-angular:dspace-7_x start:dev

it takes some 2 and half minutes (might vary) before it starts responding on http://localhost:4000

@simongray
Copy link
Author

simongray commented Sep 9, 2024

It spent some minutes firing up all my CPU cores. It actually did respond with an empty page while doing this, but now after it has finished it doesn't respond at all (no connection).

This is the entire log output:

2024-09-09 11:48:42 yarn run v1.22.19
2024-09-09 11:48:42 $ nodemon --exec "cross-env NODE_ENV=development yarn run serve"
2024-09-09 11:48:43 [nodemon] 2.0.22
2024-09-09 11:48:43 [nodemon] to restart at any time, enter `rs`
2024-09-09 11:48:43 [nodemon] watching path(s): config/**/*
2024-09-09 11:48:43 [nodemon] watching extensions: json
2024-09-09 11:48:43 [nodemon] starting `cross-env NODE_ENV=development yarn run serve`
2024-09-09 11:48:44 $ yarn base-href
2024-09-09 11:48:45 $ ts-node --project ./tsconfig.ts-node.json scripts/base-href.ts
2024-09-09 11:48:49 Building development app config
2024-09-09 11:48:49 Overriding app config with /app/config/config.yml
2024-09-09 11:48:49 Applying environment variable DSPACE_UI_SSL with value false
2024-09-09 11:48:49 Applying environment variable DSPACE_UI_HOST with value 0.0.0.0
2024-09-09 11:48:49 Applying environment variable DSPACE_UI_PORT with value 4000
2024-09-09 11:48:49 Applying environment variable DSPACE_UI_NAMESPACE with value /
2024-09-09 11:48:49 Setting baseHref to / in angular.json
2024-09-09 11:48:50 $ ts-node --project ./tsconfig.ts-node.json scripts/serve.ts
2024-09-09 11:48:52 Building development app config
2024-09-09 11:48:52 Overriding app config with /app/config/config.yml
2024-09-09 11:48:52 Applying environment variable DSPACE_UI_SSL with value false
2024-09-09 11:48:52 Applying environment variable DSPACE_UI_HOST with value 0.0.0.0
2024-09-09 11:48:52 Applying environment variable DSPACE_UI_PORT with value 4000
2024-09-09 11:48:52 Applying environment variable DSPACE_UI_NAMESPACE with value /
2024-09-09 11:48:49 Unable to find env config file at /app/config/config.development.yaml
2024-09-09 11:48:52 Unable to find env config file at /app/config/config.development.yaml
2024-09-09 11:48:57 Warning: This is a simple server for use in testing or debugging Angular applications
2024-09-09 11:48:57 locally. It hasn't been reviewed for security issues.
2024-09-09 11:48:57 
2024-09-09 11:48:57 Binding this server to an open connection can result in compromising your application or
2024-09-09 11:48:57 computer. Using a different host than the one passed to the "--host" flag might result in
2024-09-09 11:48:57 websocket connection issues. You might need to use "--disable-host-check" if that's the
2024-09-09 11:48:57 case.
2024-09-09 11:48:59 - Generating browser application bundles (phase: setup)...
2024-09-09 11:49:07 Unable to find env config file at /app/config/config.development.yaml
2024-09-09 11:49:07 Building development app config
2024-09-09 11:49:07 Overriding app config with /app/config/config.yml
2024-09-09 11:49:07 Applying environment variable DSPACE_UI_SSL with value false
2024-09-09 11:49:07 Applying environment variable DSPACE_UI_HOST with value 0.0.0.0
2024-09-09 11:49:07 Applying environment variable DSPACE_UI_PORT with value 4000
2024-09-09 11:49:07 Applying environment variable DSPACE_UI_NAMESPACE with value /
2024-09-09 11:49:07 Angular config.json file generated correctly at /app/src/assets/config.json 
2024-09-09 11:49:07 
2024-09-09 11:53:41 
2024-09-09 11:53:41 Initial Chunk Files                                                                                     | Names                                                    |  Raw Size
2024-09-09 11:53:41 main.js                                                                                                 | main                                                     |   5.97 MB |
2024-09-09 11:53:41 vendor.js                                                                                               | vendor                                                   |   5.43 MB |
2024-09-09 11:53:41 polyfills.js                                                                                            | polyfills                                                |   1.03 MB |
2024-09-09 11:53:41 styles.css, styles.js                                                                                   | styles                                                   | 433.61 kB |
2024-09-09 11:53:41 scripts.js                                                                                              | scripts                                                  | 127.85 kB |
2024-09-09 11:53:41 runtime.js                                                                                              | runtime                                                  |  14.46 kB |
2024-09-09 11:53:41 
2024-09-09 11:53:41 | Initial Total                                            |  12.99 MB
2024-09-09 11:53:41 
2024-09-09 11:53:41 Lazy Chunk Files                                                                                        | Names                                                    |  Raw Size
2024-09-09 11:53:41 node_modules_markdown-it-mathjax3_index_js.js                                                           | markdown-it-mathjax3                                     |   3.20 MB |
2024-09-09 11:53:41 default-src_app_item-page_item-page_module_ts.js                                                        | item-page-item-page-module                               |   1.89 MB |
2024-09-09 11:53:38 ✔ Browser application bundle generation complete.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'juice/client'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/adaptors/liteAdaptor.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/a11y/assistive-mml.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/handlers/html.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/input/tex.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/input/tex/AllPackages.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 default-src_app_shared_form_builder_ds-dynamic-form-ui_ds-dynamic-form-control-container_comp-da4af2.js | home-page-home-page-module                               |   1.21 MB |
2024-09-09 11:53:41 default-src_app_submission_submission_module_ts.js                                                      | submit-page-submit-page-module                           | 980.74 kB |
2024-09-09 11:53:41 default-src_app_core_breadcrumbs_dso-breadcrumb_resolver_ts-src_app_item-page_edit-item-page_-d4e0bc.js | collection-page-collection-page-module                   | 804.62 kB |
2024-09-09 11:53:41 dspace-theme.css, dspace-theme.js                                                                       | dspace-theme                                             | 734.36 kB |
2024-09-09 11:53:41 custom-theme.css, custom-theme.js                                                                       | custom-theme                                             | 731.28 kB |
2024-09-09 11:53:41 base-theme.css, base-theme.js                                                                           | base-theme                                               | 729.27 kB |
2024-09-09 11:53:41 default-src_app_entity-groups_journal-entities_journal-entities_module_ts-src_app_entity-grou-77d389.js | home-page-home-page-module                               | 647.16 kB |
2024-09-09 11:53:41 src_app_my-dspace-page_my-dspace-page_module_ts.js                                                      | my-dspace-page-my-dspace-page-module                     | 436.03 kB |
2024-09-09 11:53:41 src_app_admin_admin_module_ts-src_app_shared_access-control-form-container_access-control-for-9ad954.js | admin-admin-module                                       | 415.55 kB |
2024-09-09 11:53:41 node_modules_sanitize-html_index_js.js                                                                  | sanitize-html                                            | 368.03 kB |
2024-09-09 11:53:41 node_modules_markdown-it_index_js.js                                                                    | markdown-it                                              | 270.54 kB |
2024-09-09 11:53:41 default-src_app_item-page_full_full-item-page_component_ts.js                                           | item-page-item-page-module                               | 250.82 kB |
2024-09-09 11:53:41 node_modules_klaro_dist_klaro-no-translations_js.js                                                     | klaro-dist-klaro-no-translations                         | 238.82 kB |
2024-09-09 11:53:41 src_app_process-page_process-page_module_ts.js                                                          | process-page-process-page-module                         | 221.06 kB |
2024-09-09 11:53:41 src_app_collection-page_collection-page_module_ts.js                                                    | collection-page-collection-page-module                   | 156.87 kB |
2024-09-09 11:53:41 src_app_collection-page_edit-collection-page_edit-collection-page_module_ts.js                          | edit-collection-page-edit-collection-page-module         | 140.58 kB |
2024-09-09 11:53:41 src_app_community-page_community-page_module_ts.js                                                      | community-page-community-page-module                     | 138.99 kB |
2024-09-09 11:53:41 src_themes_custom_app_footer_footer_component_ts.js                                                     | -                                                        | 136.13 kB |
2024-09-09 11:53:41 src_app_info_info_module_ts.js                                                                          | info-info-module                                         | 133.40 kB |
2024-09-09 11:53:41 src_app_clarin-licenses_clarin-license_module_ts.js                                                     | clarin-licenses-clarin-license-module                    | 114.49 kB |
2024-09-09 11:53:41 src_app_handle-page_handle-page_module_ts.js                                                            | handle-page-handle-page-module                           | 113.51 kB |
2024-09-09 11:53:41 src_app_home-page_home-page_module_ts.js                                                                | home-page-home-page-module                               | 113.29 kB |
2024-09-09 11:53:41 default-src_app_shared_search_clarin-search_clarin-search_component_ts.js                               | home-page-home-page-module                               | 113.27 kB |
2024-09-09 11:53:41 default-src_app_shared_resource-policies_resource-policies_module_ts.js                                 | collection-page-collection-page-module                   | 112.52 kB |
2024-09-09 11:53:41 src_app_bitstream-page_bitstream-page_module_ts-src_app_item-page_tombstone_tombstone_component_ts.js   | bitstream-page-bitstream-page-module                     | 111.31 kB |
2024-09-09 11:53:41 src_app_statistics-page_statistics-page-routing_module_ts.js                                            | statistics-page-statistics-page-routing-module           | 105.13 kB |
2024-09-09 11:53:41 default-src_app_profile-page_profile-page_module_ts.js                                                  | register-page-register-page-module                       | 102.53 kB |
2024-09-09 11:53:41 default-src_app_shared_upload_upload_module_ts.js                                                       | community-page-community-page-module                     |  96.68 kB |
2024-09-09 11:53:41 default-src_app_bitstream-page_clarin-zip-download-page_clarin-zip-download-page_component_ts.js        | item-page-item-page-module                               |  96.59 kB |
2024-09-09 11:53:41 default-src_app_shared_comcol_comcol_module_ts.js                                                       | community-page-community-page-module                     |  90.84 kB |
2024-09-09 11:53:41 default-src_app_item-page_versions_item-versions_component_ts-src_app_item-page_versions_noti-4172bf.js | collection-page-collection-page-module                   |  90.07 kB |
2024-09-09 11:53:41 src_app_browse-by_browse-by-page_module_ts.js                                                           | browse-by-browse-by-page-module                          |  87.79 kB |
2024-09-09 11:53:41 src_app_request-copy_request-copy_module_ts.js                                                          | request-copy-request-copy-module                         |  85.94 kB |
2024-09-09 11:53:41 src_app_login-page_login-page_module_ts.js                                                              | login-page-login-page-module                             |  81.54 kB |
2024-09-09 11:53:41 src_app_health-page_health-page_module_ts.js                                                            | health-page-health-page-module                           |  78.36 kB |
2024-09-09 11:53:41 common.js                                                                                               | common                                                   |  69.74 kB |
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/mathjax.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/markdown-it-mathjax3/index.js depends on 'mathjax-full/js/output/svg.js'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/sanitize-html/index.js depends on 'escape-string-regexp'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/sanitize-html/index.js depends on 'htmlparser2'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/sanitize-html/index.js depends on 'is-plain-object'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 src_app_community-list-page_community-list-page_module_ts.js                                            | community-list-page-community-list-page-module           |  64.19 kB |
2024-09-09 11:53:41 src_app_community-page_edit-community-page_edit-community-page_module_ts.js                             | edit-community-page-edit-community-page-module           |  52.50 kB |
2024-09-09 11:53:41 src_app_workflowitems-edit-page_workflowitems-edit-page_module_ts.js                                    | workflowitems-edit-page-workflowitems-edit-page-module   |  49.55 kB |
2024-09-09 11:53:41 src_app_subscriptions-page_subscriptions-page-routing_module_ts.js                                      | subscriptions-page-subscriptions-page-routing-module     |  48.25 kB |
2024-09-09 11:53:41 src_themes_custom_app_home-page_home-page_component_ts.js                                               | -                                                        |  47.63 kB |
2024-09-09 11:53:41 src_app_register-page_register-page_module_ts.js                                                        | register-page-register-page-module                       |  45.29 kB |
2024-09-09 11:53:41 default-node_modules_angular_cdk_fesm2020_tree_mjs.js                                                   | home-page-home-page-module                               |  44.19 kB |
2024-09-09 11:53:41 src_app_workspaceitems-edit-page_workspaceitems-edit-page_module_ts.js                                  | workspaceitems-edit-page-workspaceitems-edit-page-module |  39.23 kB |
2024-09-09 11:53:41 default-src_app_shared_search_search-filters_search-filters_component_ts.js                             | home-page-home-page-module                               |  37.83 kB |
2024-09-09 11:53:41 default-src_app_shared_form_form_module_ts.js                                                           | register-page-register-page-module                       |  37.74 kB |
2024-09-09 11:53:41 default-src_app_shared_form_builder_ds-dynamic-form-ui_relation-lookup-modal_external-source--7b94eb.js | register-page-register-page-module                       |  37.51 kB |
2024-09-09 11:53:41 src_themes_custom_app_admin_admin-sidebar_admin-sidebar_component_ts.js                                 | -                                                        |  36.67 kB |
2024-09-09 11:53:41 src_themes_custom_app_dso-shared_dso-edit-metadata_dso-edit-metadata_component_ts.js                    | -                                                        |  34.14 kB |
2024-09-09 11:53:41 default-src_app_shared_search_search-sidebar_search-sidebar_component_ts.js                             | home-page-home-page-module                               |  34.11 kB |
2024-09-09 11:53:41 default-src_app_shared_dso-page_dso-page_module_ts.js                                                   | home-page-home-page-module                               |  33.30 kB |
2024-09-09 11:53:41 default-src_app_shared_form_builder_ds-dynamic-form-ui_relation-lookup-modal_search-tab_dynam-156c97.js | register-page-register-page-module                       |  32.32 kB |
2024-09-09 11:53:41 src_app_forgot-password_forgot-password_module_ts.js                                                    | forgot-password-forgot-password-module                   |  32.03 kB |
2024-09-09 11:53:41 src_themes_custom_app_search-page_configuration-search-page_component_ts.js                             | -                                                        |  31.08 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_full_full-item-page_component_ts.js                                     | -                                                        |  30.85 kB |
2024-09-09 11:53:41 default-src_app_shared_form_builder_ds-dynamic-form-ui_relation-lookup-modal_external-source--518ca3.js | register-page-register-page-module                       |  28.61 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_full_field-components_file-section_full-file-section_component_ts.js    | -                                                        |  25.96 kB |
2024-09-09 11:53:41 src_app_lookup-by-id_lookup-by-id_module_ts.js                                                          | lookup-by-id-lookup-by-id-module                         |  25.44 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_form_builder_ds-dynamic-form-ui_relation-lookup-modal_search-tab-b4dc26.js | -                                                        |  22.51 kB |
2024-09-09 11:53:41 src_themes_custom_app_collection-page_collection-page_component_ts.js                                   | -                                                        |  21.53 kB |
2024-09-09 11:53:41 src_themes_custom_app_community-list-page_community-list_community-list_component_ts.js                 | -                                                        |  21.39 kB |
2024-09-09 11:53:41 src_themes_custom_app_register-email-form_register-email-form_component_ts.js                           | -                                                        |  21.12 kB |
2024-09-09 11:53:41 src_themes_custom_app_profile-page_profile-page_component_ts.js                                         | -                                                        |  20.35 kB |
2024-09-09 11:53:41 src_themes_custom_app_register-page_create-profile_create-profile_component_ts.js                       | -                                                        |  20.25 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_comcol-page-browse-by_comcol-page-browse-by_component_ts.js                | -                                                        |  20.12 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_search_search-settings_search-settings_component_ts.js                     | -                                                        |  19.98 kB |
2024-09-09 11:53:41 src_themes_custom_app_submission_import-external_submission-import-external_component_ts.js             | -                                                        |  19.58 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_simple_item-page_component_ts.js                                        | -                                                        |  19.45 kB |
2024-09-09 11:53:41 src_themes_custom_app_browse-by_browse-by-metadata-page_browse-by-metadata-page_component_ts.js         | -                                                        |  19.40 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_form_builder_ds-dynamic-form-ui_relation-lookup-modal_external-s-ff25a5.js | -                                                        |  19.35 kB |
2024-09-09 11:53:41 src_themes_custom_app_browse-by_browse-by-title-page_browse-by-title-page_component_ts.js               | -                                                        |  19.26 kB |
2024-09-09 11:53:41 src_themes_custom_app_browse-by_browse-by-date-page_browse-by-date-page_component_ts.js                 | -                                                        |  19.21 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_auth-nav-menu_auth-nav-menu_component_ts.js                                | -                                                        |  19.20 kB |
2024-09-09 11:53:41 default-src_app_item-page_item-page_resolver_ts-src_app_register-email-form_register-email-fo-72913d.js | register-page-register-page-module                       |  18.93 kB |
2024-09-09 11:53:41 src_themes_custom_app_navbar_expandable-navbar-section_expandable-navbar-section_component_ts.js        | -                                                        |  17.63 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_object-list_object-list_component_ts.js                                    | -                                                        |  17.37 kB |
2024-09-09 11:53:41 src_themes_custom_app_submission_sections_upload_file_section-upload-file_component_ts.js               | -                                                        |  17.00 kB |
2024-09-09 11:53:41 src_themes_custom_app_community-page_community-page_component_ts.js                                     | -                                                        |  16.83 kB |
2024-09-09 11:53:41 src_app_search-page_search-page-routing_module_ts.js                                                    | search-page-search-page-routing-module                   |  16.80 kB |
2024-09-09 11:53:41 default-src_themes_custom_app_shared_loading_loading_component_ts.js                                    | -                                                        |  16.73 kB |
2024-09-09 11:53:41 src_app_contact-page_contact-page_module_ts.js                                                          | contact-page-contact-page-module                         |  16.68 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_form_builder_ds-dynamic-form-ui_relation-lookup-modal_external-s-db3f14.js | -                                                        |  16.60 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_media-viewer_media-viewer_component_ts.js                               | -                                                        |  15.98 kB |
2024-09-09 11:53:41 src_themes_custom_app_bitstream-page_edit-bitstream-page_edit-bitstream-page_component_ts.js            | -                                                        |  15.89 kB |
2024-09-09 11:53:41 src_app_static-page_static-page_module_ts.js                                                            | static-page-static-page-module                           |  15.77 kB |
2024-09-09 11:53:41 src_app_shared_search_search-results_search-results_component_ts-_b2ea0.js                              | search-results-component                                 |  15.71 kB |
2024-09-09 11:53:41 src_app_shared_search_search-results_search-results_component_ts-_b2ea1.js                              | -                                                        |  15.71 kB |
2024-09-09 11:53:41 src_themes_custom_app_info_feedback_feedback-form_feedback-form_component_ts.js                         | -                                                        |  15.64 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_browse-by_browse-by_component_ts.js                                        | -                                                        |  15.55 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_collection-dropdown_collection-dropdown_component_ts.js                    | -                                                        |  14.98 kB |
2024-09-09 11:53:41 src_themes_custom_app_breadcrumbs_breadcrumbs_component_ts.js                                           | -                                                        |  14.67 kB |
2024-09-09 11:53:41 src_themes_custom_app_navbar_navbar_component_ts.js                                                     | -                                                        |  14.16 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_search_search-sidebar_search-sidebar_component_ts.js                       | -                                                        |  13.84 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_alerts_item-alerts_component_ts.js                                      | -                                                        |  13.83 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_simple_field-components_file-section_file-section_component_ts.js       | -                                                        |  13.57 kB |
2024-09-09 11:53:41 src_app_logout-page_logout-page_module_ts.js                                                            | logout-page-logout-page-module                           |  13.49 kB |
2024-09-09 11:53:41 src_app_license-contract-page_license-contract-page_module_ts.js                                        | license-contract-page-license-contract-page-module       |  13.12 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_simple_metadata-representation-list_metadata-representation-l-dac313.js | -                                                        |  12.84 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_media-viewer_media-viewer-video_media-viewer-video_component_ts.js      | -                                                        |  12.82 kB |
2024-09-09 11:53:41 src_themes_custom_app_root_root_component_ts.js                                                         | -                                                        |  12.77 kB |
2024-09-09 11:53:41 src_themes_custom_app_header_header_component_ts.js                                                     | -                                                        |  12.73 kB |
2024-09-09 11:53:41 src_themes_custom_app_statistics-page_collection-statistics-page_collection-statistics-page_c-9ddab3.js | -                                                        |  11.65 kB |
2024-09-09 11:53:41 src_themes_custom_app_statistics-page_community-statistics-page_community-statistics-page_com-097481.js | -                                                        |  11.61 kB |
2024-09-09 11:53:41 src_themes_custom_app_collection-page_edit-item-template-page_edit-item-template-page_component_ts.js   | -                                                        |  11.59 kB |
2024-09-09 11:53:41 src_themes_custom_app_statistics-page_item-statistics-page_item-statistics-page_component_ts.js         | -                                                        |  11.36 kB |
2024-09-09 11:53:41 src_themes_custom_app_statistics-page_site-statistics-page_site-statistics-page_component_ts.js         | -                                                        |  11.36 kB |
2024-09-09 11:53:41 src_app_shared_comcol_comcol-page-browse-by_comcol-page-browse-by_component_ts.js                       | comcol-page-browse-by-component                          |  11.24 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_edit-item-page_item-status_item-status_component_ts.js                  | -                                                        |  11.01 kB |
2024-09-09 11:53:41 src_themes_custom_app_search-navbar_search-navbar_component_ts.js                                       | -                                                        |  10.79 kB |
2024-09-09 11:53:41 src_app_shared_search_search-settings_search-settings_component_ts.js                                   | search-settings-component                                |  10.63 kB |
2024-09-09 11:53:41 src_themes_custom_app_forgot-password_forgot-password-form_forgot-password-form_component_ts.js         | -                                                        |  10.45 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_search-form_search-form_component_ts.js                                    | -                                                        |  10.27 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_auth-nav-menu_user-menu_user-menu_component_ts.js                          | -                                                        |  10.26 kB |
2024-09-09 11:53:41 src_themes_custom_app_request-copy_grant-request-copy_grant-request-copy_component_ts.js                | -                                                        |  10.01 kB |
2024-09-09 11:53:41 src_themes_custom_app_home-page_top-level-community-list_top-level-community-list_component_ts.js       | -                                                        |   9.73 kB |
2024-09-09 11:53:41 src_themes_custom_app_request-copy_email-request-copy_email-request-copy_component_ts.js                | -                                                        |   9.67 kB |
2024-09-09 11:53:41 src_themes_custom_app_community-page_sub-collection-list_community-page-sub-collection-list_c-b4080d.js | -                                                        |   9.66 kB |
2024-09-09 11:53:41 src_themes_custom_app_community-page_sub-community-list_community-page-sub-community-list_com-047b39.js | -                                                        |   9.62 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_lang-switch_lang-switch_component_ts.js                                    | -                                                        |   9.50 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_search_search-filters_search-filters_component_ts.js                       | -                                                        |   9.45 kB |
2024-09-09 11:53:41 src_app_import-external-page_import-external-page_module_ts.js                                          | import-external-page-import-external-page-module         |   9.41 kB |
2024-09-09 11:53:41 src_themes_custom_app_info_end-user-agreement_end-user-agreement_component_ts.js                        | -                                                        |   9.30 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_dso-selector_modal-wrappers_create-community-parent-selector_cre-612817.js | -                                                        |   8.97 kB |
2024-09-09 11:53:41 src_themes_custom_app_my-dspace-page_my-dspace-page_component_ts.js                                     | -                                                        |   7.87 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_log-in_log-in_component_ts.js                                              | -                                                        |   7.87 kB |
2024-09-09 11:53:41 src_themes_custom_app_workflowitems-edit-page_workflow-item-send-back_workflow-item-send-back-25d77c.js | -                                                        |   7.60 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_object-collection_shared_badges_badges_component_ts.js                     | -                                                        |   7.58 kB |
2024-09-09 11:53:41 src_themes_custom_app_workflowitems-edit-page_workflow-item-delete_workflow-item-delete_compo-e22128.js | -                                                        |   7.50 kB |
2024-09-09 11:53:41 src_themes_custom_app_request-copy_deny-request-copy_deny-request-copy_component_ts.js                  | -                                                        |   7.49 kB |
2024-09-09 11:53:41 src_app_item-page_alerts_item-alerts_component_ts.js                                                    | item-alerts-component                                    |   6.96 kB |
2024-09-09 11:53:41 src_themes_custom_app_home-page_home-news_home-news_component_ts.js                                     | -                                                        |   6.80 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_file-download-link_file-download-link_component_ts.js                      | -                                                        |   6.61 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_dso-selector_modal-wrappers_create-item-parent-selector_create-i-f7c57c.js | -                                                        |   6.52 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_dso-selector_modal-wrappers_create-collection-parent-selector_cr-5094a7.js | -                                                        |   6.50 kB |
2024-09-09 11:53:41 src_themes_custom_app_login-page_login-page_component_ts.js                                             | -                                                        |   6.38 kB |
2024-09-09 11:53:41 src_app_item-page_tombstone_tombstone_component_ts.js                                                   | item-page-item-page-module                               |   6.30 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_dso-selector_modal-wrappers_edit-collection-selector_edit-collec-d105b5.js | -                                                        |   6.25 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_media-viewer_media-viewer-image_media-viewer-image_component_ts.js      | -                                                        |   6.24 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_dso-selector_modal-wrappers_edit-community-selector_edit-communi-84936c.js | -                                                        |   6.21 kB |
2024-09-09 11:53:41 src_themes_custom_app_browse-by_browse-by-taxonomy-page_browse-by-taxonomy-page_component_ts.js         | -                                                        |   6.20 kB |
2024-09-09 11:53:41 src_app_shared_comcol_comcol-page-handle_comcol-page-handle_component_ts.js                             | comcol-page-handle-component                             |   6.12 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_dso-selector_modal-wrappers_edit-item-selector_edit-item-selecto-557c03.js | -                                                        |   6.05 kB |
2024-09-09 11:53:41 src_themes_custom_app_logout-page_logout-page_component_ts.js                                           | -                                                        |   5.86 kB |
2024-09-09 11:53:41 src_themes_custom_app_pagenotfound_pagenotfound_component_ts.js                                         | -                                                        |   5.63 kB |
2024-09-09 11:53:41 src_themes_custom_app_header-nav-wrapper_header-navbar-wrapper_component_ts.js                          | -                                                        |   5.60 kB |
2024-09-09 11:53:41 src_themes_custom_app_forbidden_forbidden_component_ts.js                                               | -                                                        |   5.51 kB |
2024-09-09 11:53:41 src_app_submit-page_submit-page_module_ts.js                                                            | submit-page-submit-page-module                           |   5.44 kB |
2024-09-09 11:53:41 src_themes_custom_app_lookup-by-id_objectnotfound_objectnotfound_component_ts.js                        | -                                                        |   5.40 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_object-collection_shared_badges_access-status-badge_access-statu-f5960a.js | -                                                        |   4.91 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_object-collection_shared_badges_my-dspace-status-badge_my-dspace-ffcbf3.js | -                                                        |   4.71 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_object-collection_shared_badges_status-badge_status-badge_component_ts.js  | -                                                        |   4.59 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_results-back-button_results-back-button_component_ts.js                    | -                                                        |   4.55 kB |
2024-09-09 11:53:41 src_themes_custom_app_item-page_simple_field-components_specific-field_title_item-page-title--1d1caa.js | -                                                        |   4.44 kB |
2024-09-09 11:53:41 src_themes_custom_app_submission_edit_submission-edit_component_ts.js                                   | -                                                        |   4.44 kB |
2024-09-09 11:53:41 src_app_shared_access-control-form-container_access-control-form_module_ts.js                           | access-control-access-control-module                     |   4.43 kB |
2024-09-09 11:53:41 src_themes_custom_app_register-page_register-email_register-email_component_ts.js                       | -                                                        |   4.06 kB |
2024-09-09 11:53:41 src_themes_custom_app_forgot-password_forgot-password-email_forgot-email_component_ts.js                | -                                                        |   4.05 kB |
2024-09-09 11:53:41 src_themes_custom_app_info_feedback_feedback_component_ts.js                                            | -                                                        |   3.70 kB |
2024-09-09 11:53:41 src_themes_custom_app_info_privacy_privacy_component_ts.js                                              | -                                                        |   3.64 kB |
2024-09-09 11:53:41 src_themes_custom_app_community-list-page_community-list-page_component_ts.js                           | -                                                        |   3.64 kB |
2024-09-09 11:53:41 src_themes_custom_app_shared_object-collection_shared_badges_type-badge_type-badge_component_ts.js      | -                                                        |   3.57 kB |
2024-09-09 11:53:41 src_themes_custom_app_search-page_search-page_component_ts.js                                           | -                                                        |   3.34 kB |
2024-09-09 11:53:41 src_themes_custom_app_submission_submit_submission-submit_component_ts.js                               | -                                                        |   3.30 kB |
2024-09-09 11:53:41 src_themes_custom_app_browse-by_browse-by-switcher_browse-by-switcher_component_ts.js                   | -                                                        |   3.21 kB |
2024-09-09 11:53:41 
2024-09-09 11:53:41 Build at: 2024-09-09T09:53:38.802Z - Hash: 8a603e1224e13aea - Time: 270880ms
2024-09-09 11:53:41 
2024-09-09 11:53:41 ** Angular Live Development Server is listening on 0.0.0.0:4000, open your browser on http://localhost:4000/ **
2024-09-09 11:53:41 
2024-09-09 11:53:41 
2024-09-09 11:53:41 ✔ Compiled successfully.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/sanitize-html/index.js depends on 'parse-srcset'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/node_modules/sanitize-html/index.js depends on 'postcss'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/app/shared/date.util.ts depends on 'date-fns-tz'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/app/shared/utils/file-size-pipe.ts depends on 'filesize'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/app/shared/utils/markdown.pipe.ts depends on 'markdown-it-mathjax3'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/app/shared/utils/markdown.pipe.ts depends on 'sanitize-html'. CommonJS or AMD dependencies can cause optimization bailouts.
2024-09-09 11:53:41 For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/entity-groups/journal-entities/item-pages/journal-issue/journal-issue.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/entity-groups/journal-entities/item-pages/journal-volume/journal-volume.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/entity-groups/journal-entities/item-pages/journal/journal.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/entity-groups/research-entities/item-pages/person/person.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/item-page/simple/item-types/publication/publication.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/item-page/simple/item-types/untyped-item/untyped-item.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/comcol-page-handle/comcol-page-handle.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/object-list/browse-entry-list-element/browse-entry-list-element.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/object-list/collection-list-element/collection-list-element.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/object-list/community-list-element/community-list-element.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/object-list/search-result-list-element/item-search-result/item-types/item/item-search-result-list-element.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/object-list/sidebar-search-list-element/item-types/publication-sidebar-search-list-element.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/starts-with/date/starts-with-date.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/shared/starts-with/text/starts-with-text.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 Warning: /app/src/themes/custom/app/workspace-items-delete-page/workspace-items-delete/workspace-items-delete.component.ts is part of the TypeScript compilation but it's unused.
2024-09-09 11:53:41 Add only entry points to the 'files' or 'include' properties in your tsconfig.
2024-09-09 11:53:41 
2024-09-09 11:53:41 
2024-09-09 11:55:07 [nodemon] clean exit - waiting for changes before restart

@kosarko
Copy link
Member

kosarko commented Sep 12, 2024

try:

docker run --pull=always -p 4000:4000 -e DSPACE_UI_HOST=0.0.0.0 -e DSPACE_UI_NAMESPACE=/ -e DSPACE_UI_PORT="4000" -e DSPACE_UI_SSL="false" -e DEBUG=nodemon,nodemon:* --rm --entrypoint yarn ufal/dspace-angular:dspace-7_x start

there's an extra -e DEBUG=nodemon,nodemon:* maybe it'll spit out some reason for the exit (my guess is either some networking issue, or not enough memory)

If that's not useful; try ps aux | grep "ng serve" from within the container; there should be a line similar to:

   82 root      9:30 ng serve --host 0.0.0.0 --port 4000 --serve-path / --ssl false --configuration development

if it's not there, try (still from the container):

npx ng serve --host 0.0.0.0 --port 4000 --serve-path / --ssl false --configuration development

or

npx ng serve --host 0.0.0.0 --port 4000 --serve-path / --ssl false --configuration development --verbose

If you have a linux host available, please do try it there too...

@simongray
Copy link
Author

The first line results in a working frontend, though it doesn't connect to the backend (500 service unavailable).

@kosarko
Copy link
Member

kosarko commented Oct 1, 2024

@simongray
I was able to reproduce your issue on a heavy loaded system, the underlying reason in my case is not enough memory and the oom-killer killing ng serve --host

 2003  cd /tmp/
 2004  git clone https://github.com/ufal/dspace-angular
 2005  cd dspace-angular
 2006  vim .env
cat .env
INSTANCE=0
DSPACE_HOST=localhost
DSPACE_VER=dspace-7_x
DSPACE_SSL=false

FE_CMD=yarn start:dev

#please do not edit following variables, unless you know what you are doing
DOCKER_OWNER=ufal
DSPACE_UI_IMAGE=${DOCKER_OWNER}/dspace-angular:$DSPACE_VER
DSPACE_REST_IMAGE=${DOCKER_OWNER}/dspace:$DSPACE_VER
DSPACE_REST_PORT=808$INSTANCE
REST_URL=http://${DSPACE_HOST}:${DSPACE_REST_PORT}/server
UI_URL=http://${DSPACE_HOST}:4000
vim docker/docker-compose.yml

git diff
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 6293da2c4..f8c91ec21 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -23,6 +23,7 @@ services:
       DSPACE_REST_HOST: ${DSPACE_HOST:-localhost}
       DSPACE_REST_PORT: ${DSPACE_REST_PORT}
       DSPACE_REST_NAMESPACE: /server
+      DEBUG: nodemon,nodemon:*
     image: ${DSPACE_UI_IMAGE:-ufal/dspace-angular:dspace-7_x}
     volumes:
     - ./config.prod.yml:/app/config/config.prod.yml
docker compose -p simon -f docker/docker-compose.yml -f docker/docker-compose-rest.yml --env-file .env up
...
⠸ Generating browser application bundles (phase: building)...  nodemon:run bus.emit(exit) via SIGUSR2 +2m
dspace-angular0  |   nodemon bus emit: exit +2m
dspace-angular0  | [nodemon] clean exit - waiting for changes before restart

(without the change in the docker-compose.yml I've seen only the last line dspace-angular0 | [nodemon] clean exit - waiting for changes before restart)

In another terminal on the docker host:

sudo dmesg -T
[Tue Oct  1 11:36:18 2024] oom-kill:constraint=CONSTRAINT_MEMCG,nodemask=(null),cpuset=ns,mems_allowed=0-1,oom_memcg=/lxc/116,task_memcg=/lxc/116/ns/docker/a79396743147754e4f41e7298d7017c8532bfbf953ffb8e3aaf84774639db65f,task=ng serve --host,pid=3157541,uid=0
[Tue Oct  1 11:36:18 2024] Memory cgroup out of memory: Killed process 3157541 (ng serve --host) total-vm:56081144kB, anon-rss:2839824kB, file-rss:0kB, shmem-rss:0kB, UID:0 pgtables:79128kB oom_score_adj:0

(not sure what the equivalent of the last command would be on a mac)

@simongray
Copy link
Author

I see, thanks for debugging.

What exactly are the memory requirements? This is a 16 GB system. I get that the Linux VM takes up a bit of extra memory, but surely it should be able to run a Docker container with DSpace without running out of memory?

@kosarko
Copy link
Member

kosarko commented Oct 3, 2024

This is a snapshot of docker stats something like a minute after everything starts

380d9464b5eb   dspacesolr1                                     0.44%     587.7MiB / 20GiB    2.87%     107kB / 43.5kB   0B / 0B     52
0a3bf734894e   dspace1                                         0.16%     1.249GiB / 20GiB    6.25%     820kB / 858kB    0B / 0B     52
c71cd27667d7   dspacedb1                                       1.88%     48.01MiB / 20GiB    0.23%     480kB / 738kB    0B / 0B     14
30597d058903   dspace-angular1                                 0.96%     721.3MiB / 20GiB    3.52%     289kB / 1.63MB   0B / 0B     88
b98e9668d042   dockerized-nginx-with-shibboleth-nginx-1        0.00%     54.51MiB / 20GiB    0.27%     46.5GB / 48GB    0B / 0B     33
771f8d15e2d1   dockerized-nginx-with-shibboleth-syslog-1       0.12%     3.773MiB / 20GiB    0.02%     1.11GB / 394kB   0B / 0B     4
34e04ae47176   dockerized-nginx-with-shibboleth-shibboleth-1   0.02%     110.1MiB / 20GiB    0.54%     156MB / 9.22MB   0B / 0B     19

16GB should suffice (though you'll find posts that claim that's not enough to run docker on mac...). I'm not a mac user myself, but assuming it works similar to docker desktop on windows, isn't there some sort of configuration cap for the vm? I mean does the vm get 16G or just 2?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants