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

fix: docker vm now copy and starts services correctly apt-get fix #2

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

domysh
Copy link
Contributor

@domysh domysh commented Aug 17, 2024

I wasn't able to start vm on my pc, this is what I done:

  • Builded VM container with the services in /tmp/ (During the execution, compose mounts the volume on /root, at that time I move services/* to root to not lost due to the mount done by compose)
  • Waitied for docker socket is running in the container (I'm not sure if really needed, but added for an additional check avoiding additional problems)
  • Logged compose service start in /tmp/service-init-logs
  • Running ssh before the services completes to start
  • removed "up and down" network (for some reason it seems it was causing connection loss after that)
  • Installed netcat using apt (on arm also this was breaking the installation due to a copy of a x86 binary)
  • using apt-get instead of apt (as hinted by apt itself in the logs)

@tde-nico tde-nico merged commit 01db462 into TheRomanXpl0it:main Sep 5, 2024
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

Successfully merging this pull request may close these issues.

2 participants