Giter Club home page Giter Club logo

Comments (11)

ctubio avatar ctubio commented on May 12, 2024

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.

ctubio avatar ctubio commented on May 12, 2024

also, many thanks for the solution 🌻

from krypto-trading-bot.

jaNGOB avatar jaNGOB commented on May 12, 2024

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.

ctubio avatar ctubio commented on May 12, 2024

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.

jaNGOB avatar jaNGOB commented on May 12, 2024

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.

ctubio avatar ctubio commented on May 12, 2024

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.

jaNGOB avatar jaNGOB commented on May 12, 2024

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.

ctubio avatar ctubio commented on May 12, 2024

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.

jaNGOB avatar jaNGOB commented on May 12, 2024

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.

ctubio avatar ctubio commented on May 12, 2024

thanks for the report'Β‘ i just updated the docs πŸ’ƒ

from krypto-trading-bot.

ctubio avatar ctubio commented on May 12, 2024

btw if you use GDAX, you may be interested in the last comment at #3

from krypto-trading-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.