I have recently installed docker in aws ec2 instance by using the command
$ yum install docker
But when I try to run $ docker network --help it says
docker: 'network' is not a docker command.
Please let me know what is the issue here.
Here is the output of docker version
Client version: 1.7.1
Client API version: 1.19
Go version (client): go1.4.2
Git commit (client): 786b29d/1.7.1
OS/Arch (client): linux/amd64
Server version: 1.7.1
Server API version: 1.19
Go version (server): go1.4.2
Git commit (server): 786b29d/1.7.1
OS/Arch (server): linux/amd64
From the docker engine release notes I see in docker 1.9
docker network exits experimental and is part of standard release (#16645)
so docker 1.7.1 seems a bit too old to support docker network.
Amazon Linux AMI has only docker 1.7.1 in its latest release 2015.09, which means it you need and try to install the latest docker yourself.
Related
I upgraded from Cypress 9.0 to 10.3.0 with Corporate Proxy . PS C:\CypressUpgrade10> node -v v12.14.1 PS C:\CypressUpgrade10> npm -v 6.13.4
PS C:\CypressUpgrade10>
I download (from nexus) & installation seems to be success
npx cypress -v Cypress binary version: 10.3.0 Electron version: 18.3.0 Bundled Node version: 16.13.2
But npx cypress verify or cypress run /open gives error as below & there is no Cypress.exe on Local
No version of Cypress is installed in: C:\Users\AppData\Local\Cypress\Cache\10.3.0\Cypress
Please reinstall Cypress by running: cypress install
Cypress executable not found at: C:\Users\AppData\Local\Cypress\Cache\10.3.0\Cypress\Cypress.exe
Platform: win32-x64 (10.0.19042) Cypress Version: 10.3.0
Missing any dependency or compatibility issue ?
Thanks
Run the command npx cypress install. This should fix your issue.
It works after updating Binary version to 0 & installing by npm install cypress#10.3.0
The Yarn documentation tells us how to upgrade to the latest version, but does not explain how to upgrade to a specific non-latest version.
I need a specific version to match our CI server.
How do I specify the version that I want?
run yarn policies set-version <version> from the project directory
https://classic.yarnpkg.com/en/docs/cli/policies/#toc-policies-set-version
As you can see in the documentation, you can provide a version to the curl-install command with the --version flag.
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version [version]
In case you are using brew:
brew switch yarn [version]
Or maybe you installed it with npm as global package, then update like that:
npm install --global yarn#[version]
yarn set version [version.number] should work.
You can specify the yarn version using install in the following way:
Assuming you want version 1.7.0:
yarn upgrade v1.7.0
On Mac OSX 12.2.1 had following message when tried yarn upgrade v1.22.17
warning Your current version of Yarn is out of date. The latest version is "1.22.17", while you're on "1.22.4".
info To upgrade, run the following command:
$ brew upgrade yarn
success Saved 0 new dependencies.
So just did brew upgrade yarn and yarn --version returned 1.22.17
I installed Docker on my Mac OSX machine (El-Capitan) using Homebrew.
But when I try to run it, it gives me the error shown below.
$ docker --version
Docker version 17.06.0-ce, build 02c1d87
$ docker-compose --version
docker-compose version 1.14.0, build unknown
$ docker-machine --version
docker-machine version 0.12.2, build 9371605
$ docker ps
Cannot connect to the Docker daemon at unix:///var/run/docker.sock.
Is the docker daemon running?
How can I fix it?
There is no need to uninstall docker, I hit this hurdle as well and on Mac, follow these steps
Go to the application folder and click the docker icon
wait for it to start
Once the docker starts, you can run any docker command without any issue
It looks like you need to start the Docker daemon first. Check the caveats section of brew info docker-machine.
$ brew info docker-machine
docker-machine: stable 0.12.2 (bottled), HEAD
Create Docker hosts locally and on cloud providers
https://docs.docker.com/machine
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/docker-machine.rb
==> Dependencies
Build: go ✔, automake ✔
==> Requirements
Build: git ✔
==> Caveats
To have launchd start docker-machine now and restart at login:
brew services start docker-machine
Or, if you don't want/need a background service you can just run:
docker-machine start
I have tried installing vagrant from both an apt repo and gem but here's the output I am getting when I try to run vagrant plugin install (clearly no plugin command in output):
Usage: vagrant [-v] [-h] command [<args>]
-v, --version Print the version and exit.
-h, --help Print this help.
Available subcommands:
box
destroy
gem
halt
init
package
provision
reload
resume
ssh
ssh-config
status
suspend
up
I have tried installing vagrant from both apt and Rubygems and in both cases I get no plugin command. I am running Ubuntu 12.04 LTS.
Install Vagrant from source.
The github repo is here: https://github.com/mitchellh/vagrant
And these instructions should allow you to build and install the bleeding edge version: https://github.com/mitchellh/vagrant/wiki/Installing-Vagrant-from-source
If you want the latest stable version then once you have cloned the repo as described in the link above you should checkout the 1.2.2 tag with git checkout v1.2.2 and then build that.
When I try to build Node.js on my Ubuntu 10.04 server it fails with the following error:
/etc/node/deps/v8/src/hydrogen.cc: In member function 'v8::internal::HInstruction* v8::internal::HGraphBuilder::BuildBinaryOperation(v8::internal::BinaryOperation*, v8::internal::HValue*, v8::internal::HValue*)':
/etc/node/deps/v8/src/hydrogen.cc:4912: internal compiler error: Segmentation fault
When building I ran the following commands:
git clone --depth 1 git://github.com/joyent/node.git
cd node
mkdir ~/local
./configure --prefix=$HOME/local/node
make
I also tried to compile it without setting --prefix and it worked. It didn't work to install it, though. Got this error when running make install:
Unable to install the file 'deps/uv/c-ares/ares_build.h' (not found in dir:///etc/node)
I have tried this with 0.4.8 and 0.4.0 but I get a segmentation fault on both of them.
Here is some more information:
OS: Ubuntu 10.04
Arch: x64
Node versions: 0.4.8 or 0.4.0
GCC version: 4.4.3 (Ubuntu 4.4.3-4ubuntu5)
Any ideas?
I've just tried install node.js myself. The problem is that by default the branch points at master which is unstable. Before installing it call
$ git checkout origin/v0.4
$ ./configure
$ make
$ make install
Of course you also want to install npm after node because everyone loves it
$ curl http://npmjs.org/install.sh | sh