-
Notifications
You must be signed in to change notification settings - Fork 3
Add text editor in container #38
Comments
@jcohenadad Should we follow the steps included (here) to install vim within the container and to be able to edit |
@YangHee-Min before doing so, could you please confirm that there is no text editor available? ideally i would like to avoid re-doing the build, upload, test, etc. i have other things to do today... |
@jcohenadad As explained in the first line of the first answer in this link, there does not seem to be a default editor. There is a way to edit files within docker as explained (here) but it involves replacing lines if ever you want to try that route (although it clearly has limitations). Unfortunately, most threads seem to suggest to use an external text editor to edit files. |
@jcohenadad Options 2 and 3 in (this link) seem to suggest a method to edit files within docker (or at least the files are called internally) without the use of text editors. |
@YangHee-Min, OK, so in the future, we should add an editor by adding those lines in the container build:
for now, since we are running out of time for the SCT course, let's just ask users to run those lines once they enter the container. |
One current issue, for users following SCT course and using Docker, is that they need to edit the file
parameters.sh
from the multi_subject course. Currently there is no obvious way for them to edit this file.What are the installed text editor?
If none is installed, I suggest to add
vim
while building the container.The text was updated successfully, but these errors were encountered: