Djordje Lukic
5103d54330
Merge pull request #227 from docker/dependabot/go_modules/github.com/Azure/azure-sdk-for-go-43.2.0incompatible
...
Bump github.com/Azure/azure-sdk-for-go from 43.1.0+incompatible to 43.2.0+incompatible
2020-06-17 06:07:28 -07:00
dependabot-preview[bot]
7d04c343e3
Bump github.com/Azure/azure-sdk-for-go
...
Bumps [github.com/Azure/azure-sdk-for-go](https://github.com/Azure/azure-sdk-for-go ) from 43.1.0+incompatible to 43.2.0+incompatible.
- [Release notes](https://github.com/Azure/azure-sdk-for-go/releases )
- [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Azure/azure-sdk-for-go/compare/v43.1.0...v43.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 12:57:18 +00:00
Djordje Lukic
4232b66a6b
Merge pull request #228 from docker/compose_project_name
...
Changed compose flag —name to —project-name, -p, aligned with docker-compose flag.
2020-06-17 05:52:55 -07:00
Djordje Lukic
228097b1be
Merge pull request #226 from docker/compose_stdin
...
Allow compose up from stdin with `-f -`.
2020-06-17 05:37:23 -07:00
Guillaume Tardif
a8d29dc3db
Removed unnecessary test
2020-06-17 14:13:28 +02:00
Djordje Lukic
a8dd88fd5f
Merge pull request #230 from ulyssessouza/json
...
Add --json option to commands
2020-06-17 03:08:18 -07:00
Ulysses Souza
f6aad0d7b4
Add --json option to commands
...
- docker ps
- docker context ls
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-17 10:00:42 +02:00
Guillaume Tardif
505b6a90c8
Merge pull request #229 from docker/context_ls_q
...
added -q flag to `docker context ls`.
2020-06-17 09:05:35 +02:00
Guillaume Tardif
34d01012e4
Relax constraints on flaky tests (due to // runs)
2020-06-17 08:58:24 +02:00
Guillaume Tardif
830914cb15
Prepare for release 0.1.0
2020-06-17 08:41:54 +02:00
Guillaume Tardif
2a49c3b32f
added -q flag to `docker context ls`. (This is now used in desktop e2e wsl2 tests)
...
See https://ci-next.docker.com/teams-desktop/blue/organizations/jenkins/desktop%2Fdesktop-test-single-branch-win/detail/desktop-test-single-branch-win/274982/pipeline/
2020-06-17 07:40:27 +02:00
Guillaume Tardif
404f2629a3
Changed compose flag —name to —project-name, -p, aligned with docker-compose flag.
2020-06-17 07:17:58 +02:00
Guillaume Tardif
90acf5eddc
Allow compose up from stdin with `-f -`. Cf https://github.com/docker/desktop-microsoft/issues/15
2020-06-16 19:52:24 +02:00
Guillaume Tardif
8f6cd7c63f
Merge pull request #223 from docker/fix_e2e
...
Fix e2e
2020-06-16 16:06:51 +02:00
Guillaume Tardif
ef2f90b334
Fix e2e
2020-06-16 15:55:03 +02:00
Guillaume Tardif
13d3a52273
Merge pull request #222 from ulyssessouza/inspect
...
Fix linter
2020-06-16 11:48:35 +02:00
Ulysses Souza
5b1522095b
Fix linter
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-16 10:59:40 +02:00
Guillaume Tardif
2b4e2cb322
Merge pull request #220 from docker/aci_user_agent
...
set Aci user agent to allow metrics on usage from docker cli
2020-06-16 09:44:41 +02:00
Djordje Lukic
50c68ce4dd
Merge pull request #221 from rumpl/feat-context-metadata
...
Use the context from the metadata if it exists
2020-06-16 00:43:36 -07:00
Djordje Lukic
a999f34b23
Use the context from the metadata if it exists
2020-06-16 09:43:09 +02:00
Guillaume Tardif
9257d0ff49
Merge pull request #205 from ulyssessouza/inspect
...
Add inspect command
2020-06-16 09:33:33 +02:00
Djordje Lukic
a80653c27c
Merge pull request #219 from rumpl/chore-build-without-backends
...
Build example and local backend conditionaly
2020-06-15 12:24:40 -07:00
Guillaume Tardif
885e0d0aa4
common authoriser & user agent setup for all clients
2020-06-15 21:17:10 +02:00
Guillaume Tardif
425f9acb88
Set aci user agent for MS metrics
2020-06-15 20:39:09 +02:00
Djordje Lukic
39042aa8bd
Build example and local backend conditionaly
...
* `make` will build the cli with all backends exnabled
* `make cross` will cross build without the example and local backend
You can still cross compile with all backends by doing
```console
$ BUILD_TAGS=example,local make cross
```
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-06-15 18:02:30 +02:00
Guillaume Tardif
028750e7d2
Merge pull request #218 from docker/context_rm_default
...
Context rm default does not allow removing current context, except if -f
2020-06-15 17:21:17 +02:00
Ulysses Souza
1039c5ed94
Add tests on inspect
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-15 17:20:37 +02:00
Guillaume Tardif
eb505ecd75
Add -f option to force remove current context and switch to default if required
2020-06-15 16:28:43 +02:00
Guillaume Tardif
ddc44d7abe
Do not allow deleting curent context without -f flag
2020-06-15 15:52:44 +02:00
Ulysses Souza
96bc1ca6f1
Add inspect command
...
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
2020-06-15 15:08:04 +02:00
Guillaume Tardif
3566c720e3
Merge pull request #204 from docker/context_create_refacto
...
Context create refacto
2020-06-15 12:39:37 +02:00
Guillaume Tardif
84cdf58e8a
default context type is “moby”
2020-06-15 12:25:35 +02:00
Guillaume Tardif
0de2522079
Renamed Moby backend to “local” backend. This will leave “moby” available for default type contexts
2020-06-15 12:20:03 +02:00
Guillaume Tardif
113350a09d
Context create aci is now a subcommand, as Moby and example. Root `docker context create` also allows backward compatibility to create docker contexts as before
2020-06-15 12:19:06 +02:00
Guillaume Tardif
d0b2bfbf52
Fix `docker context ls` that was not displaying legacy context endpoints
2020-06-15 12:10:54 +02:00
Guillaume Tardif
667cdfcbf8
Merge pull request #212 from rumpl/chore-remove-node
...
Remove node test, node-sdk has these tests
2020-06-15 12:05:37 +02:00
Guillaume Tardif
336df897c1
Merge pull request #207 from docker/version_cli
...
version command adding azure integration beta version in textual output
2020-06-15 12:02:33 +02:00
Guillaume Tardif
afa205be95
Server version : will be 1.0.0-beta1, -beta2, …
2020-06-15 11:51:03 +02:00
Guillaume Tardif
ce321df236
Merge pull request #214 from docker/default_context_on_error
...
When can not load config file, display a WARNING message, but continues with default context
2020-06-15 11:48:03 +02:00
Djordje Lukic
f0efaf7a79
Remove node test, node-sdk has these tests
...
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
2020-06-15 11:41:50 +02:00
Guillaume Tardif
98f7a8e1aa
When can not load config file, the previous cli is displaying a WARNING message, but continues with default context, we should do the same.
...
This happened in some desktop e2e tests where the config file is not set properly in WSL2 environment, see
https://github.com/docker/pinata/pull/14062
2020-06-15 11:41:26 +02:00
Guillaume Tardif
bc1b2b778a
Merge pull request #211 from docker/wrap_context_error
...
Wrap error cause so that we can understand why the cli cannot determine current context
2020-06-15 09:58:00 +02:00
Guillaume Tardif
dda4b0f3bf
Wrap error cause so that we can understand why the cli cannot determine current context.
...
This happened in Desktop WSL2 tests, we’re blind here : https://ci-next.docker.com/teams-desktop/blue/organizations/jenkins/desktop%2Fdesktop-test-single-pr-win/detail/desktop-test-single-pr-win/120692/pipeline
2020-06-14 19:38:29 +02:00
Djordje Lukic
f19fe9e188
Merge pull request #208 from metcalfc/wsl2
...
Update classic Docker location depending on OS.
2020-06-13 02:41:48 -07:00
Djordje Lukic
7743ae3bb1
Merge pull request #209 from metcalfc/make_serve
...
Add a target to run docker serve
2020-06-13 02:41:28 -07:00
Djordje Lukic
4cf5004c4b
Merge pull request #210 from docker/default_context_ls
...
Strengthen getting default context
2020-06-13 02:40:35 -07:00
Guillaume Tardif
c2a702c963
Ensure the `docker context inspect default` is not executed in a different context, that might make it fail.
...
Following discussion with @simonferquel, this will strengthen the shell out to get default context, in cases the user has damaged his config file current context or there are issues with context synchronisation between windows host & wsl2.
2020-06-13 10:50:56 +02:00
Guillaume Tardif
376a4b671c
version command adding azure integration beta version in textual output
2020-06-13 10:47:05 +02:00
Chad Metcalf
130cb87ec9
Add a target to run docker serve
...
It documents how to use it and just makes it easy.
2020-06-12 16:37:42 -07:00
Chad Metcalf
39f2093827
Update classic Docker location depending on OS.
...
Adding support for devs on WSL2 and Linux.
2020-06-12 16:29:41 -07:00