Skip to content

Conversation

haysberg
Copy link
Collaborator

No description provided.

code/C1-files.py Outdated

gateway_hostname = 'faraday.inria.fr'
gateway_username = 'inria_r2lab.tutorial'
gateway_username = 'root'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what ?
we cannot ask or even suggest the average user to use the root account to log onto faraday !
please explain..

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a remnant of when I tested the tutorials. This is now corrected.


If you want to directly access a Bash prompt **inside a Docker container** please choose the username `container`, like this :

ssh container@fit25
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so, I am confused here

just above there is a script that uses 'port=2222' to join the container - IIUC
but here you say I enter the container using the container login but o port 22 - which one is it ? or is it both ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup, that's my bad, I forgot to correct this from the time we had the custom shell.

The `deploy` subcommand allows you to pull and deploy the docker image selected with `--image` on the nodes selected with `--nodes`.
The `--options` option allows you to give an array of argument to pass directly to the Docker Runtime.

The `faraday.repo/tutorial` image is based on Ubuntu, so the `-t` and `-d` options are necessary for the Docker image to continue running.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sometimes feel like it would be helpful to stress either "hard-drive image" or "docker image", even when it sometimes feels obvious; but maybe that's just me...

also here, to continue after what ??

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected.

If you want to save a Docker container that you may have modified from its base image, you can use the [baleine save](https://github.com/haysberg/baleine/wiki/Save-a-custom-container) command.

baleine save --node 1 --name mycustomimage:1.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it not make more sense to add this at the bottom of the next tab on baleine ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I moved it now.

* the `faraday.repo/tutorial` Docker image running on the fit nodes

For this first tutorial we will assume that these 2 steps have been
For this first tutorial we will assume that these 3 steps have been
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it ain't broke don't fix it; 2 is good enough

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean, we now have 3 steps don't we ?

n 1 2
# load the default image (on the selected nodes)
rload
rload baleine
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you mean rload -i baleine, right ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be corrected now.

parmentelat added a commit that referenced this pull request Feb 7, 2023
maybe a little rough but should be good to roll
@parmentelat parmentelat force-pushed the main branch 2 times, most recently from d8da149 to 0562968 Compare February 8, 2024 18:31
@parmentelat parmentelat force-pushed the main branch 2 times, most recently from fcc84c8 to 53f974a Compare October 27, 2024 12:24
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