docker-rsync | Docker rsync | Incremental Backup library
kandi X-RAY | docker-rsync Summary
kandi X-RAY | docker-rsync Summary
Docker + rsync
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-rsync
docker-rsync Key Features
docker-rsync Examples and Code Snippets
Community Discussions
Trending Discussions on docker-rsync
QUESTION
I'm trying to install some packages on the OpenFOAM docker-machine image which is based on boot2docker. When running the uname -a
command I get the info:
Linux default 4.4.111-boot2docker #1 SMP Thu Jan 11 16:25:31 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
In this page it has been explained that the boot2docker distro is based on the Tiny Core Linux
distro so to install a package one must:
- check the Tiny Core Linux software repository page
- use the command
tce-load -w -i packagename.tcz
to install
I followed these steps to install git. but I get the error:
bash: tce-load: command not found
I searched and as explained here apparently the official repository is offline. There a list of mirrors is provided. But I have no idea how I can install a package from those mirrors!
P.S. Alternatively here a bizarre answer by the OP have been upvoted while it is not clear what he/she means by running boot2docker ssh
I would appreciate if you could help me know what is the problem and how I can solve it.
...ANSWER
Answered 2018-Aug-27 at 13:26new/correct:
Thanks to Pawan Ghildiyal from ESI Group and Karen Kettle from OpenCFD Limited I found the correct solution.
It seems like the whole OpenFOAM docker image is based on CentOS
not boot2docker
and one can easily install new packages using yum
! Because the small virtual box interface that enable docker to run is named as boot2docker it returns as boot2docker
when asked by uname -a
.
you just need to use the root
user in docker terminal:
- run
Docker QuickStart Terminal
(I'm using windows) docker start of_1712
docker exec -ti of_1712 /bin/bash
su -
and then the default password, in this casefuser2017
!yum install packageName
old/wrong:
As explained here it turns out that Docker deprecates the Boot2Docker
command line in favor of docker-machine
. So the answer provided here is also depreciated.
Solution:
- Using the command
docker-machine ssh machinename
(in my casemachinename
isdefault
) connect to the docker-machine image. As explained here run the command
version
and look for the package name in the right repository. in my case the version is8.2.1
and the repository ishttp://repo.tinycorelinux.net/8.x/x86/tcz/
then run the command
tce-load -w -i packagename.tcz
.
For some reason the official OpenFOAM_Start
batch file provided by the OpenFOAM team does not work!
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-rsync
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page