I am trying to start docker from winodws7 enterprise edition.
boot2docker start
results
Waiting for VM and Docker daemon to start...
..........................................................................oooooo
oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Started.
Trying to get Docker socket one more time
Error requesting socket: exec: "ssh": executable file not found in %PATH%
Docker client does not run on Windows for now. Please use
"boot2docker" ssh
to SSH into the VM instead.
I tried this link. But All answers doesn't help me. I have re-installed the boot2docker and powered off boot2docker-vm in Virtual machine and restarted. Virtualisation is enabled in my bios. My Sys has better capabilities.
Using 1.4.1 version.
Please Some Suggestions?
As boot2docker complained, you don't have ssh in your path. Please add ssh.exe into Windows path (it might not be visible, but boot2docker installation includes msys-git installation which includes ssh.exe, so you need to add Git installation directory in path, e.g.
c:\Program Files (x86)\Git\bin
Related
WSL2 stopped working. When, I do a new installation of linux distro, it throws the following error on click of the launch button:
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070003
Error: 0x80070003 The system cannot find the path specified.
Press any key to continue...
the wsl --help command works fine
however wsl -l command and other wsl commands throw the following error
The system cannot find the path specified.
Check if you have any .wslconfig inside your profile in %USERPROFILE% folder and delete it! I finally got it working
FIY: https://github.com/microsoft/WSL/issues/3232#issuecomment-777023885
I was getting the same issue and it was due to my bad attempt at deleting the installed Distro. If yours is the same case, this should be pretty easy to fix, use the wsl --unregister <DISTRO_NAME> which in my case was debian so wsl --unregister debian unregistered the old path for the Debian executable and then I installed Debian again. This worked for my personal case but I thought it might help someone on the internet.
I need to download a file over SSH (scp) from Ubuntu machine A to ubuntu machine B.
I don't have a root access on the machine from I am downloading the file (machine B), so I cannot install anything like sshpass etc...Just clear Ubuntu.
I need to use password authentication because the command will be called inside TeamCity plugin which does not support downloading over SSH (just uploading) or plain bash. I don't have priviledge to read SSH private keys from command line.
Finally, I found that Docker is a solution for it. I was lucky that docker is installed on this machine and I can install anything (including scp) inside docker even if I am not root on the host machine.
So I created an Express server with express generator. When I run the server on my laptop's Ubuntu for Windows, it starts up fine. Now when I run curl localhost:3000 in a separate terminal, I get the message curl: (7) Failed to connect to host localhost port 3000: Connection refused.
The strange thing is that when I take that exact same server and run it on my Desktop's Ubuntu for Windows, running the curl command above works fine.
Here is where it gets even stranger, when I run the server on git bash on my laptop, the curl command also works fine. Note, the curl command will work fine in either git bash or WSL if the server is running on git bash.
I have no clue why the server will not work properly on my laptop's Ubuntu for Windows. I thought WSL just uses Window's network, so why would running the server on git bash work properly, but not on WSL?
Googling this has not given me much help. I have uninstalled WSL and reinstalled. I have also tried running all the commands with sudo. None of that worked.
I am running RabbitMQ on Ubuntu 16.04 under the Windows 10 "windows on linux" installation.
I cannot connect using rabbitmqctl. I used su to run as root and also tried to run it under my username with sudo, but everytime I run the command I get:
Diagnostic log
attempted to contact: ['rabbit#SJDEV-JWRIGHT3']
rabbit#SJDEV-JWRIGHT3:
* connected to epmd (port 4369) on SJDEV-JWRIGHT3
* epmd reports node 'rabbit' running on port 25672
* TCP connection succeeded but Erlang distribution failed
* suggestion: hostname mismatch?
* suggestion: is the cookie set correctly?
* suggestion: is the Erlang distribution using TLS?
current node details:
- node name: 'rabbitmq-cli-133#SJDEV-JWRIGHT3'
- home dir: /var/lib/rabbitmq
- cookie hash: iLmkDqwKzDZPxk8ynhqsVw==
I have uninstall and re-installed both Erlang and RabbitMQ. I changed the host names as suggested by someone else, and I still cannot figure out this problem.
I have rebooted the system, and when I tried to run rabbitmq-server restart and got:
ERROR: node with name "rabbit" already running on "SJDEV-[NODE]"
I am new to linux and have been digging in to this for a week and hit my breaking point.
Okay I found out the problem in a round about way. I am running this version of Ubuntu on the Windows Subsystem for Linux application on my windows 10 machine. My windows machine is already running rabbitmq and it happens to be on the same node as the node that I was trying to access using the rabbitmqctl. So there must be a correlation between the Ubuntu and windows system that shows rabbitmq already running. I may try this on a VM and see if I can get a clean break and try again.
Thanks.
I had this issue today.
My config is below:
Have a rabbitmq-server on Windows 10 OS
Have a rabbitmq-server on Ubuntu which was installed on Windows 10 OS (Ubuntu 18.04 app from Windows store)
Now below error makes sense:
ERROR: node with name "rabbit" already running on "MyComputerNamehere"
Another hint was Windows OS firewall has allowed both of them, in other words, they are running on same computer with name (ex: MyComputerNamehere).
Though I know the issue, I didn't fix it by removing rabbitmq-server from Windows 10, as I wanted Windows 10 rabbitmq-server, so gave up on Ubuntu on Windows 10.
Hope this explanation helps someone.
I have installed Vagrant, PuTTY, PuTTYgen and Virtual Box and I now want to
open a SSH connection to my virtual machine with the windows command prompt.
Every time I want to open the connection with the vagrant sshcommand I get this error:
vagrant ssh
`ssh` executable not found in any directories in the %PATH% variable. Is an
SSH client installed? Try installing Cygwin, MinGW or Git, all of which
contain an SSH client. Or use the PuTTY SSH client with the following
authentication information shown below:
I already know about the possibility to install "Git" to solve this problem!
I was wondering if its possible to use PuTTY in combination with the command vagrant ssh instead of OpenSSH!
For example:
With a batch file or something to ajust the syntaxes.
There is an official thread for Vagrant here which ended in no result AFAIR. But when googling for "vagrant putty" there seem to exist many plugins for Vagrant bringing that functionality, maybe through "hacks".
For reference: vagrant-multi-putty. Worked for me too on Windows after two simple commands: vagrant plugin install vagrant-multi-putty and vagrant putty (only for Vagrant 1.1 and newer),