How to install Java SDK on CentOS?

The following command will return a list of all packages directly related to Java. They will be in the format of java-<version>. $ yum search java | grep ‘java-‘ If there are no available packages, then you may need to download a new repository to search through. I suggest taking a look at Dag Wieers’ … Read more

Mounting nfs shares inside docker container

Starting from docker 17.06, you can mount NFS shares to the container directly when you run it, without the need of extra capabilities export NFS_VOL_NAME=mynfs export NFS_LOCAL_MNT=/mnt/mynfs export NFS_SERVER=my.nfs.server.com export NFS_SHARE=/my/server/path export NFS_OPTS=vers=4,soft docker run –mount \ “src=$NFS_VOL_NAME,dst=$NFS_LOCAL_MNT,volume-opt=device=:$NFS_SHARE,\”volume-opt=o=addr=$NFS_SERVER,$NFS_OPTS\”,type=volume,volume-driver=local,volume-opt=type=nfs” \ busybox ls $NFS_LOCAL_MNT Alternatively, you can create the volume before the container: docker volume create \ … Read more