Ask Your Question
1

How does one setup docker with WingIDE

asked 2019-04-05 12:02:11 -0500

chukwudi.nwachukwu gravatar image

updated 2019-04-13 07:37:34 -0500

I have Python running in remote, so to speak, but through docker. How do I access it and use it in WingIDE?

edit retag flag offensive close merge delete

5 Answers

Sort by ยป oldest newest most voted
0

answered 2020-04-01 11:06:26 -0500

Since this was originally answered a year ago, the approach to setting up Wing with Docker has been changed, and is now documented in detail in https://wingware.com/doc/howtos/docker

This is a different approach than the original links I provided a year ago and is likely more generally useful because it does not require the ability to connect to the Docker instance with SSH.

However, this is still fairly complicated to set up. We're working on automating and simplifying setup for Docker based on this approach, by adding the concept of a container configuration to Wing's UI. But that's not yet available at the moment.

edit flag offensive delete link more
0

answered 2020-03-09 10:00:05 -0500

chukwudi.nwachukwu gravatar image

In this instance, the admin said: If you can ssh into the docker instance then you can use Wing Pro's remote development support

So, that led me to and I am able to SSH into the docker container. But then, I am yet to try out Wing Pro's remote development

edit flag offensive delete link more

Comments

Sorry, this is another thing we didn't get notice of being added here. If SSHing into the container works, you could try to set up a remote host configuration in Wing as described in https://wingware.com/hints/remote-dev-2 Otherwise an approach that does not use SSH is documented here: https://wingware.com/doc/howtos/docker

Wingware Support gravatar imageWingware Support ( 2020-04-01 11:14:31 -0500 )edit
0

answered 2019-04-05 13:36:07 -0500

If you can ssh into the docker instance then you can use Wing Pro's remote development support described at http://wingware.com/doc/proj/remote-h...

If not, then it's harder. If files are shared with the local host you can open and edit them from there and would be able to set up debugging as well using the manual method described at http://wingware.com/doc/debug/manual-... to get the debug connection set up and to describe how the files are found in docker vs. on the local host.

We're hoping to add support for Docker soon. Right now we only have container-specific support for Vagrant: http://wingware.com/doc/howtos/vagrant and Windows Subsystem for Linux: http://wingware.com/doc/howtos/wsl

edit flag offensive delete link more
0

answered 2020-03-31 15:19:17 -0500

chukwudi.nwachukwu gravatar image

I will suggest a video is done and placed on a place like Youtube showing how this can be done: using Wingpro with Docker. I followed the instruction but I couldn't achieve what was written.

I might be wrong in my approach of it and a video demo will help me see it

edit flag offensive delete link more

Comments

Unfortunately we don't have the resources to do videos. We used to do it but found they often were not as effective as written instructions in the How-Tos, and quickly went out of date. Setting up Wing for Docker is now described in https://wingware.com/doc/howtos/docker -- which is a different approach than the original links I provided a year ago. We're working on automating this further, but that's not yet available.

Wingware Support gravatar imageWingware Support ( 2020-04-01 11:03:02 -0500 )edit
0

answered 2020-01-07 07:53:38 -0500

chukwudi.nwachukwu gravatar image

I have followed the steps outlined here to the best of my ability and I even encountered an issue with docker, as shown in this image docker but then, I sorted that out by following the instructions shown in the image.

Also worthy of note is the fact that I activated the debugger as shown debugger

Within the Debugger option, I also added my PC ip, as shown in this image PC ip.

But then, I am unable to set the breakpoint. I have clicked to not avail. If I am missing something, I would like for someone to show me what it is.

However, one thing I would like for the admin to do is to have someone always do short videos to show how these things work. While the documentation is great, it is so different when one tries to do as stated, at times. But if there are videos that one can watch and follow through then that would be fine.

If such exists and I have missed it, please point me to it. I need to sort this docker issue to move ahead with my job.

edit flag offensive delete link more

Comments

Are you saying you cannot set the breakpoint or it won't stop on it? If the latter, setting kLogFile in wingdbstub.py and emailing the output to support@wingware.com may help.

Wingware Support gravatar imageWingware Support ( 2020-01-07 11:12:02 -0500 )edit

This is nowhere near what I expected as a response despite having a one year support.

chukwudi.nwachukwu gravatar imagechukwudi.nwachukwu ( 2020-03-31 15:18:03 -0500 )edit

I'm not sure if you're saying we're doing too little or too much but as noted in the newly added answer there are updated docs on setting up Docker and without the debugger-side log there really isn't much hope of figuring out why breakpoints are missed.

I don't think we're getting notifications of your changes to this question for some reason, despite following it, so please email support@wingware.com if we're not responding. There are known problems with the Q&A forum, as far as notifications sometimes not going out and those are also being worked on by the service provider (hopefully).

Wingware Support gravatar imageWingware Support ( 2020-04-01 11:11:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2019-04-05 12:02:11 -0500

Seen: 190 times

Last updated: 1 hour ago