|
[Sponsors] |
[OpenFOAM.com] How to install a text editor in the Docker container? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 9, 2017, 22:51 |
How to install a text editor in the Docker container?
|
#1 |
New Member
Join Date: Apr 2017
Posts: 2
Rep Power: 0 |
Hi everybody
I have recently installed OpenFOAMplus with the purpose of doing a collage project. Since I am a linux & docker & CFD newbie, I am in trouble, By following the instructions, I had run ./startOpenfoam+ and everything was fine but one, and that is when I want to open a text file from the container, this message appears bash-4.1$ gedit 1.py bash: gedit: command not found I sent an email to the OpenFOAM staffs and they said that I should install gedit in the container, but I was unable to find out the way of doing that. On the other hand, I know how to pull an image from the docker hub, such as mary/gedit, but does it make any sense? I mean, should I just add an extra command in OpenFOAMplus so I can run the editor inside the environment? Please help me, thanks in advance |
|
April 10, 2017, 01:30 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
vi should be installed. You may use that. It is slightly strange for non unix users, so read a short introduction first.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
April 10, 2017, 08:31 |
|
#3 | |
New Member
Join Date: Apr 2017
Posts: 2
Rep Power: 0 |
Quote:
Thank you bro, vi is indeed installed and I can now edit files freely. A short tutorial of vi for anyone who might be interested in learning how to use it: https://www.washington.edu/computing/unix/vi.html |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] Docker vs Not Docker v2 AND installing editors into Docker | u2berggeist | OpenFOAM Installation | 1 | July 10, 2018 03:58 |
[OpenFOAM.com] v1606+ Install pb with Docker on OSX El Capitan | BPich | OpenFOAM Installation | 3 | October 10, 2016 19:52 |
OpenFoam Parallel run on in docker container | shang | OpenFOAM Running, Solving & CFD | 0 | September 8, 2016 15:54 |
[OpenFOAM.com] Docker OpenFOAM install error on Mac OS X | dersh | OpenFOAM Installation | 10 | May 6, 2016 13:49 |
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker | rt08 | OpenFOAM Installation | 1 | February 28, 2016 20:00 |