How to remove a snap application (docker) completely


Question I made the mistake of installing Docker via Snap... Once I realised that snap hadn't permissions to run in my working directory (on a different partition), I removed it. Now I can't use docker after I've installed it via apt-get. Please help. I've done sudo snap remove docker but when I sudo apt install docker and run via docker, I get bash: /snap/bin/docker: No such file or directory Answer I had the same problem.…
Read more ⟶

Running docker on Ubuntu: mounted host volume is not writable from container


Question Docker works great on a Mac for me, but I have to run docker host inside of a VirtualBox (or Parallels, or VMWare Fusion), since Mac's kernel doesn't support docker. So I tried to setup my application and a docker-compose on an Ubuntu Desktop - natively, where both docker client and docker host run physically on the same system. This worked, but my running docker containers can't write into a mounted host volume.…
Read more ⟶

How to get F# working with Mono?


Question I can't seem to find a compiler/plugin for mono. Does one exist? Answer Go here and download fsharp.zip Unzip it and open the created folder Open the terminal and run ./install-mono.sh as root (On some systems, it is necessary to convert the newline characters in that script from CRLF to LF) This will give you the basic functionality which means you will be able to run "mono fsi.exe" and compiled F# apps as "…
Read more ⟶

Unable to install rJava in R 3.0 in Ubuntu 13.04


Question I am not able to call rJava package in R 3.0. I got the following message Error: package ‘rJava’ was built before R 3.0.0: please re-install it I am getting error when I tried to re-install rJava package. I have provided the output of R CMD javareconf Java interpreter : /usr/bin/java Java version : 1.7.0_21 Java home path : /usr/lib/jvm/java-7-openjdk-i386/jre Java compiler : /usr/lib/jvm/java-7-openjdk-i386/jre/../bin/javac Java headers gen.: /usr/lib/jvm/java-7-openjdk-i386/jre/../bin/javah Java archive tool: /usr/lib/jvm/java-7-openjdk-i386/jre/.…
Read more ⟶

why systemd is disabled in WSL? [closed]


Question Closed. This question is not about programming or software development. It is not currently accepting answers. </div> This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered. Closed 10 months ago.…
Read more ⟶

Ubuntu, upstart, and creating a pid for monitoring


Question Below is a upstart script for redis. How to I create a pid so I use monit for monitoring? #!upstart description "Redis Server" env USER=redis start on startup stop on shutdown respawn exec sudo -u $USER sh -c “/usr/local/bin/redis-server /etc/redis/redis.conf 2>&1 >> /var/log/redis/redis.log” Answer If start-stop-daemon is available on your machine, I would highly recommend using it to launch your process. start-stop-daemon will handle launching the process as an unprivileged user without forking from sudo or su (recommended in the upstart cookbook) AND it also has built in support for pid file management.…
Read more ⟶

JDK 8 is NOT installed - ERROR 404: Not Found


Question Since yesterday, I've been trying to install the JDK8 on my Ubuntu machine, but it has been failing constantly. I've been trying to run the commands: sudo add-apt-repository ppa:webupd8team/java -y sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default But I can't continue because when running the command sudo apt-get install oracle-java8-installer all I get is: ... Connecting to download.oracle.com (download.oracle.com)|23.215.130.99|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-10-18 11:07:34 ERROR 404: Not Found.…
Read more ⟶