Comments (11)
umf i hate grammar (https://github.com/docker/distribution/blob/master/reference/reference.go#L1) but lets try to be correct, many thanks for the report!
from krypto-trading-bot.
also, many thanks for the solution π»
from krypto-trading-bot.
It's still not working for me. I tried to run it a few days ago and also had the Problem with the uppercase "K". I have redone the whole process but it's still throwing an error at me because of the "k".
What else could I do?
Thank you for your help.
$ docker run -p 3000:3000 --link K-mongo:mongo --name k -d k
C:\Program Files\Docker Toolbox\docker.exe: Error response from daemon: Invalid container name (k), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.
See 'C:\Program Files\Docker Toolbox\docker.exe run --help'.
from krypto-trading-bot.
sorry for the confusion, the image name should be k
, but the container name K
(you have both in lowercase), thats what worked for me:
$ cd path/to/Dockerfile
$ docker run -p 27017:27017 --name K-mongo -d mongo
$ docker build -t k .
$ docker run -p 3000:3000 --link K-mongo:mongo --name K -d k
hope this works for you too, otherwise please let me know and i promise to review the whole process carefully
from krypto-trading-bot.
hmm, I still can't get it to work.
Im sorry to bother you with this and thanks a lot for your help
from krypto-trading-bot.
Hello,
i suspect you have an old docker version, may be?
mine is:
$ docker --version
Docker version 1.10.3, build 20f81dd
maybe if you have an uptodate version, can you try to delete all images/containers/cache and try again?
i really think you put the correct commands now, so may be something that is already in there (for me K was a valid container name 2 days ago if i dont remember wrong)
from krypto-trading-bot.
I run Docker CE and use the Docker version 17.05.0-ce, build 89658be. It's the uptodate version of Docker CE as far as I know.
I've redone everything again and it still doesn't work.
from krypto-trading-bot.
well, donno why your version doesn't like single-letter names, but if so try to change K and k to longer names:
$ cd path/to/Dockerfile
$ docker run -p 27017:27017 --name K-mongo -d mongo
$ docker build -t kjs .
$ docker run -p 3000:3000 --link K-mongo:mongo --name Kjs -d kjs
or something similar, cos i think your error is just with the namings of the container
if this works better for you, let me know please and i will update the docs
from krypto-trading-bot.
It worked. I had no problem now with Kjs. You were right, it was only because of the naming.
Thank you again for your patience and help.
from krypto-trading-bot.
thanks for the report'Β‘ i just updated the docs π
from krypto-trading-bot.
btw if you use GDAX, you may be interested in the last comment at #3
from krypto-trading-bot.
Related Issues (20)
- ;6037998155543910=04051012636000000000? HOT 2
- binance orders can't be canceled HOT 6
- Unlock issue HOT 1
- Limits on Binance
- Feature request HOT 2
- Coinbase API Change
- Failed to execute the command βmake libβ
- Bot doesnt work
- CURL/SSH error HOT 2
- "Invalid Arguments" when using Kraken BTC/USD pair HOT 1
- GUI is not working HOT 5
- Update API HOT 1
- How to quote both sides each X seconds
- Binance Cross Margin connection support
- Binance ERROR
- I like to be a tester
- unable to open database file. HOT 1
- Collaboration
- Bot
- Binance NOTIONAL error.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krypto-trading-bot.