How to connect to local Docker on Windows with Eclipse? - eclipse

How to connect to local Docker on Windows with Eclipse?
I installed latest docker using DOCKER TOOLBOX on Windows 10 (Home)
$ docker info
...
Server Version: 1.12.1
I got latest Eclipse Neon 4.5 and installed
Docker Tooling 2.0.0.201606101757 org.eclipse.linuxtools.docker.feature.feature.group Eclipse Linux Tools
I switch to Docker perspective.
How to connect to local docker?

OK, there is Search button.
But the first time it gave me default with wrong URL,
should be https://192.168.99.100:2376 (as on Windows)
Some intro to Eclipse Docker tooling is at https://www.eclipse.org/community/eclipse_newsletter/2015/june/article3.php

Related

VSCode remote ssh: Can't install extensions on remote server

I am trying to install an extension (as an example cmake tools) on my remote server (ubuntu Arm 64). I have enabled remote.downloadExtensionsLocally feature). When I try to install the extensions, it seems downloaded locally but can't be installed on the target server.
My Host: Windows 10
My Server: Ubuntu 64 ARM running on a rasp4
Here are my user settings (I have enabled a proxy. no diff with/without proxy):
and here are my remote settings:
and this is my windows trace logs after clicking on install button (As can be seen the extension has downloaded successfully):
and my remote server log:
Please check if your Linux kernel/version is compatible with the doc. I guess that the requirements on your server are not met. Please check them:

Install MySQL workbench on ubuntu 20.04

I have ubuntu server 20.04 without GUI, I followed this answers installing-workbench-on-ubuntu, I could installed it, but when I try to run the command mysql-workbench, it tells me that the "command not found". So my question is, Can I not install mysql workbench on a server without GUI? Is it not supported?

VSCode: Using dev container remotely without local installation of docker

Currently, I have:
a desktop with low system specs, Windows 7 Pro (without Admin Rights), without docker.
a Virtual Machine with Centos7, and docker installed.
On my desktop, I can either use:
my local installation of VSCode, and Remote - SSH to develop remotely on my VM. It works well, but I can't combine this with Remote - Containers.
X11Forwarding to develop directly with VSCode installed on this VM. I can use Remote - Containers, but X11 is very slow.
Is there a way, with local VSCode, to develop in a remote container, without local installation of docker (obviously with docker installed on the host)?
Is there a way, with local VSCode, to develop in a remote container,
without local installation of docker (obviously with docker installed
on the host)?
No. In the 'advanced containers' docs it says
You can use the Docker CLI locally with a remote Docker host by
setting local environment variables like DOCKER_HOST,
DOCKER_CERT_PATH, DOCKER_TLS_VERIFY. Since VS Code uses the Docker CLI
under the hood, you can use these same environment variables to
connect the Remote - Containers extension to the same remote host.
I added the bolding. Note that it is referring to the client not the remote there. This is from Developing inside a container on a remote Docker host.
Though not officially supported, it seems that it is possible to install Docker CLI without the daemon...
Is it possible to install only the docker cli and not the daemon
Maybe you can do this without admin?
That would, though, certainly be swimming against the grain. Probably your best bet is to stick with the 'remote - SSH' setup you've got going.
I just achieved this using the solution linked by #Tom (but with admin rights, I didn't test it without them)
I downloaded the docker-cli from the docker-cli-builder github repo and created the docker context successfully.
After selecting it in VSCode, it has started using the context allowing me to see the containers on the remote machine.
We have build a small tool called LiveSync which could solve your problem. You simply run
python3 -m pip install livesync
livesync <virtual-machine>
from inside your vscode workspace. It will start watching for changes and push them immediately to the remote. Hence you can code locally (even run your tests) and have all changes synced with your target system.

How to install pre-requisites for Hyperledger Composer on Windows10

I am following the tutorial for Hyperledger Composer. I'm trying to install the pre-requisites for the Composer as outlined here:
https://hyperledger.github.io/composer/installing/installing-prereqs.html
The instructions are only provided for Ubuntu or Mac, and I have Win10 machine with Docker 17.12.x
So I got Ubuntu 16.04 docker image, added curl. I got the prereqs-ubuntu.sh script, I login as blockchain user, and run the script, but I get this error:
#Updating package lists
-sudo apt-add-repository: command not found
Is it even possible to install Hperledger Composer on a Windows 10 machine?!
No it is not possible to install Hyperledger Composer on windows which includes the Windows Subsystem for Linux and other environments like MinGW that simulate a linux environment. This platform is not supported at this time. I recommend you use a hypervisor such as VirtualBox or if you are using Windows 10 Professional, the built in Hyper-V support to run a Linux virtual machine where you can install Hyperledger Composer. Also we recommend using ubuntu 16.04 as this is the level we test with most.

Deploy jhipster on server with CentOS 7

I'm trying to deploy my jhipster application on a server.
The server is an basic CentOS 7 distribution.
What should I install before deploying the war?
Apache, Tomcat, mySQL, anything else?
I'm not able to find a complete doc where to find how to set up a server from zero.
Jhipster offers easy docker integration, so just use ist, and install docker on your server.
For docker documentation: https://docs.docker.com/
If not:
For the war file you only need a javaRuntime and run it with java -jar your.jar
mysql only when you need it