-
Notifications
You must be signed in to change notification settings - Fork 19
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
Docker support #249
base: main
Are you sure you want to change the base?
Docker support #249
Conversation
Can you rebase this branch on the latest master ? |
The custom type did not bring any value to the codebase.
d4985c9
to
b916cbe
Compare
ba89f63
to
a7227e9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This branch contains many experiments and duplicates.
Can you check what is still needed after the merge of #261 ?
When it makes sense, give the file a more appropriate name than _2
.
|
||
/usr/sbin/dockerd 2>&1 | tee /log_docker.txt & | ||
|
||
log "INIT 0 DONE2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about a comment about Dockerd being started ?
-v "$(pwd)/firecracker:/opt/aleph-vm/firecracker:ro" \ | ||
--device /dev/kvm \ | ||
-p 4020:4020 \ | ||
alephim/vm-supervisor-dev $@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we merge this in the main script or make it explicit that this is for Docker ?
|
||
WORKDIR /opt/aleph-vm | ||
|
||
CMD "bash" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What differs from the main Dockerfile ?
@@ -0,0 +1,3 @@ | |||
#!/bin/sh | |||
docker image ls | |||
docker run --rm -p 8080:8080 amozpay/hello_node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rename examples/docker_container
?
@@ -10,5 +10,7 @@ else | |||
DOCKER_COMMAND=docker | |||
fi | |||
|
|||
echo DOCKER_COMMAND=$DOCKER_COMMAND | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this
return Path(settings.FAKE_DATA_VOLUME) | ||
for volume_bind in str(settings.FAKE_DATA_VOLUME).split(","): | ||
if volume.mount == volume_bind.split(":")[1]: | ||
return volume_bind.split(":")[0] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this change for ? Does it require a comment and a specific commit ?
No description provided.