Comments (2)
спасибо, буду пробовать сpowershell. В остальном наш опыт совпал
from swamphub.
Так как у Саши нет винды, то я тестировал на своей.
Windows 11
Docker Desktop 4.27.2 (137060)
Docker Compose version v2.24.5-desktop.1
Какие проблемы были обнаружены:
-
При попытке выполнить команду git clone --recurse-submodules https://github.com/cu3blukekc/SwampHub.git минут через 20-25 клонирование отвалилось (к сожалению ошибку не скопировал). Пробежавшись по папкам содержащим сабмодули, обнаружил что данных нет (см. файл .gitmodules).
-
Снова все удалил и пошел вторым путем используя git bash:
• git clone https://github.com/cu3blukekc/SwampHub.git
user MINGW64 ~/OneDrive/Git/DocHub_impl
$ git clone https://github.com/cu3blukekc/SwampHub.git
Cloning into 'SwampHub'...
remote: Enumerating objects: 354, done.
remote: Counting objects: 100% (354/354), done.
remote: Compressing objects: 100% (241/241), done.
remote: Total 354 (delta 120), reused 299 (delta 68), pack-reused 0
Receiving objects: 100% (354/354), 8.61 MiB | 1.12 MiB/s, done.
Resolving deltas: 100% (120/120), done.
• git submodule init
Submodule 'backend/dochub' (https://github.com/RabotaRu/DocHub.git) registered for path 'backend/dochub'
Submodule 'frontend/dochub' (https://github.com/RabotaRu/DocHub.git) registered for path 'frontend/dochub'
Submodule 'manifest/manifest' (https://github.com/ValentinKozlov/DocHubExampleManifest.git) registered for path 'manifest/manifest'
Submodule 'metamodel/metamodel' (https://github.com/ValentinKozlov/DocHubExampleMetamodel.git) registered for path 'metamodel/metamodel'
Submodule 'plantuml-server' (https://github.com/vlad-markin/plantuml-server.git) registered for path 'plantuml'
• git submodule update – отвалился с ошибкой:
$ git submodule update
Cloning into 'C:/Users/user/OneDrive/Git/DocHub_impl/SwampHub/backend/dochub'...
error: 6663 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
fatal: clone of 'https://github.com/RabotaRu/DocHub.git' into submodule path 'C:/Users/i_fro/OneDrive/Git/DocHub_impl/SwampHub/backend/dochub' failed
Failed to clone 'backend/dochub'. Retry scheduled -
Снова все удалил и выполнил пункт 2 используя powershell – все отработало нормально
-
Дальше выполнил команду docker compose up -–build
Все контейнеры поднялись. Дальше можно пробовать поднимать компоненты отдельно.
Вывод:
Сборка контейнеров на винде видимо зависит от shell на котором собирается контейнер. Так как bash это линуксовый шел, то рекомендуется при сборке использовать виндовый (powershell). А вообще лучше не использовать винду для разработки если это только не C#.
from swamphub.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swamphub.