CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.com] Accessing the root account via Docker

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   December 27, 2016, 04:47
Default Accessing the root account via Docker
  #1
New Member
 
Join Date: Dec 2016
Posts: 6
Rep Power: 9
garumple is on a distinguished road
Hi,

I am having some issues trying to mount storage located outside the default workingDir path on a Windows 10 OF installation. Storage limitations prevent me from storing my project in "My Documents". In order to mount the new Virtualbox shared drive, I need to access the root account.

It isn't as simple as using 'su', as I don't know the password.

If I open the Virtualbox instance, it gives me a root account, I can change the password - but it doesn't affect the OF instance at all. This is obvious when listing users (cat /etc/passwd), as "ofuser" is not listed. I can see the Virtualbox share I am interested in from here.

I can log into root by starting a new docker instance (docker run -i -t of_v1606plus_centos66_win /bin/bash), but these changes do not seem to apply to the current instance of OF. I can't see the Virtualbox share here.

Additionally, I have tried using a Windows 10 symbolic link, but CentOS crashes complaining of too many levels of symbolic links.

Is there a way of accessing the root account, or some magical way I can mount another windows partition?
garumple is offline   Reply With Quote

 

Tags
mount, root, windows


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 02:58
[OpenFOAM.com] root in openfoam docker jeremy rutman OpenFOAM Installation 3 October 24, 2017 07:31
[OpenFOAM.org] A Mac OS X of23x Development Environment Using Docker rt08 OpenFOAM Installation 1 February 28, 2016 19:00
Environment errors with .deb install and ubuntu 13.04 64 bit jonathanbyrn OpenFOAM Installation 14 September 26, 2013 05:22
missing vtf3.h BPatch.h papi.h linch OpenFOAM Installation 41 July 24, 2012 14:45


All times are GMT -4. The time now is 10:02.