Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect to private repository Ubuntu 18.04 #957

Closed
ixomaxip opened this issue May 23, 2019 · 4 comments
Closed

Connect to private repository Ubuntu 18.04 #957

ixomaxip opened this issue May 23, 2019 · 4 comments

Comments

@ixomaxip
Copy link

Repro steps:

  1. In docker explorer: select Private Registries -> Connect to a private registry...

  2. Enter a url like this http://host.name.org:5000
    image

  3. Enter a user name and password that is used to connect by docker login
    image

Action: vscode-docker.connectCustomRegistry
Error type: HPE_INVALID_CONSTANT
Error Message: Parse Error

Version: 0.6.2
OS: linux
Product: Visual Studio Code
Product Version: 1.34.0
Language: en

Call Stack
new n extension.bundle.js:157:643276
$.callback extension.bundle.js:157:641962
$.module.exports.e.exports.u.init.e.callback.t.callback [as _callback] extension.bundle.js:157:641408
module.exports.$.init.t._callback.t.callback.t.callback extension.bundle.js:187:5468
$.emit events.js:182:13
$.module.exports.$.onRequestError extension.bundle.js:187:14523
ClientRequest.emit events.js:187:15
Socket.socketOnData _http_client.js:438:9
Socket.emit events.js:182:13
addChunk _stream_readable.js:279:12
readableAddChunk _stream_readable.js:264:11
Socket.Readable.push _stream_readable.js:219:10
TCP.onread net.js:636:20
@ejizba
Copy link
Contributor

ejizba commented Jun 10, 2019

@ixomaxip what kind of registry were you trying to connect to? We're tracking OAuth support here: #869

Also - #966 might've improved this experience - you're welcome to follow these instructions to try the latest build from master: https://aka.ms/azCodeInsiders

@ixomaxip
Copy link
Author

Just ordinary registry https://docs.docker.com/registry/
Without certificates

@ejizba
Copy link
Contributor

ejizba commented Jun 11, 2019

@ixomaxip there are a lot of different types of registries. Was it Docker Hub, Azure, quay.io, ECR, GCR, etc.? Or a local registry?

Did you add "https://" or "http://" to the beginning of the url?

@vscodebot vscodebot bot closed this as completed Jul 2, 2019
@vscodebot
Copy link

vscodebot bot commented Jul 2, 2019

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot locked and limited conversation to collaborators Aug 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants