okteto / docker-desktop-extension Goto Github PK
View Code? Open in Web Editor NEWDocker Extension for Okteto
License: Apache License 2.0
Docker Extension for Okteto
License: Apache License 2.0
@rberrelleza will write the abstract, @pchico83 will find us a customer that uses docker-compose on okteto already.
Once we are in the extension store, all we need to do is publish a new version to dockerhub and it will be updated on all Docker Desktop instances. I think that we should have one image for development, and a separate one for "production". We can push the production to dockerhub using a GitHub action or something like that.
Label: "Build images before launching environment"
We need to do this to be on the release. I think we should do this by Friday April 8, so they have time to process it.
Giving demos in Cloud is dangerous since its performance is worse than a team or private instance. would it be useful to have an option (even if it's hidden for now).
According to the docker desktop team, they don't have plans to automatically save the extension's state. every time you click out of it, the component is trashed, and the expectation is that the extension will generate its state back when it's loaded again. This means that we need to find a way to either store the state on a volume (maybe a file that describes the status so we don't have to query everything every single time?) or store it in the cloud and rebuild the state every time.
this is not required for Dockercon, but it's something we should do soon since it seriously impacts the usability of the extension.
Is your feature request related to a problem? Please describe.
When a remote environment is launched and it's ready for development it would be very useful to take users directly to the code to start developing on the new environment.
Describe the solution you'd like
Based on the path to the docker-compose file, a button can be added to open an editor at the same path. On a first iteration, we can create just an "Open in VSCode" button, being VSCode one of the most popular editor nowadays. But in the future we could add support for other editors.
it looks like port 5005 is not being exposed
@jLopezbarb can you take a look at this?
Command executed:
okteto up -f {manifestFile} --log-output plain
Platform: Windows
Output:
INFO: Using bgonp @ cloud.okteto.com as context
Select the development container you want to activate:
Use the arrow keys to navigate: â â â â
> vote
result
ERROR: Invalid option
This will optimize login time
Amy from Docker mentioned that: @guillaume Tardif mentioned during today's meeting." @pchico83 can you follow up with Guillaume to see if this is something we can automate? We need this to be able to publish the extension.
Describe the solution you'd like
Related to #74, using the status of the environment we could notify users when the environment is done deploying and it is ready for development
The Toast API is described here:
https://docs.docker.com/desktop/extensions-sdk/dev/api/reference/interfaces/Toast/
When I click stop, okteto is not stopped. If I then launch the same compose again, it fails to start because the port is taken.
Describe the bug
Improve documentation of README.md and contributing.md
Additional context
Add badges for no. of forks, stars
Write prior documentation in pointwise manner in short
Add link to contributing.md in readme
Add standard Github workflow commands in the CONTRIBUTING.md (opening issues, get assigned, fork, create clone, add, commit, creating PRs).
It will provide new potential project contributors with a short guide to how they can help with your project.
We should configure the following labels on the Dockerfile:
com.docker.extension.screenshots
com.docker.extension.detailed-description
com.docker.extension.publisher-url
com.docker.extension.additional-urls
More details here
Is your feature request related to a problem? Please describe.
Once an environment has been launched, there is no way to relaunch it again unless you stop it, select the docker-compose file again and launch as you did the first time.
Describe the solution you'd like
Since we already have the path to the docker-compose file, a "Relaunch" button in the extension UI could trigger a new okteto up
call.
Additional context
The relaunch functionality should be as simple as updating the "environment" in the Okteto React context just like it is done here: https://github.com/okteto/docker-desktop-extension/blob/main/client/src/contexts/Okteto.context.tsx#L58
This is blocked until Docker releases the changes in their API
Is your feature request related to a problem? Please describe.
As of right now there is no way to know if the environment finished launching, whether it failed or not, or if it is ready to use for development.
Describe the solution you'd like
Display the status in the UI by calling the okteto status
command.
The status will be a new property in the main view as shown in this mock:
okteto status
possible values are: building, deploying, activating, synchronizing, ready, failed
And should be displayed as:
Building...
Deploying...
Activating...
Synchronizing...
Ready
Failed
Additional context
A new command call should be added to the okteto wrapper here: https://github.com/okteto/docker-desktop-extension/blob/main/client/src/api/okteto.ts
We should always redeploy compose changes, it's what docker compose up
does.
docker team will send us a link on how to do that
Depends on okteto/okteto#2022
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.