Can no longer access Docker environment

DazedAndConfused
Member Posts: 6
Not sure which forum to post this in, but please move it if this is the wrong one.
I have downloaded and have had a BC docker image running yesterday. I was able to access the development environment, Windows client, web client, and was able to do so extension work. Having restarted my machine I can no longer access any of the clients. I have used PowerShell to confirm that the service is running...

I cannot connect to the database using the development environment...

...and the same goes for the other clients.
I don't really know how to go about troubleshooting this
Can I somehow see what services are running in this docker container? If not, how do I tell if the SQL service is running?
I get the advantages which Docker offers over a traditional virtual machine, but it just seems so hard to do simple things like check services, explore and run files, etc, etc...
As always...
DazedAndConfused
I have downloaded and have had a BC docker image running yesterday. I was able to access the development environment, Windows client, web client, and was able to do so extension work. Having restarted my machine I can no longer access any of the clients. I have used PowerShell to confirm that the service is running...

I cannot connect to the database using the development environment...

...and the same goes for the other clients.
I don't really know how to go about troubleshooting this

Can I somehow see what services are running in this docker container? If not, how do I tell if the SQL service is running?
I get the advantages which Docker offers over a traditional virtual machine, but it just seems so hard to do simple things like check services, explore and run files, etc, etc...
As always...
DazedAndConfused

0
Answers
-
This may be related to.....
https://freddysblog.com/2019/08/07/zombie-containers-skip-this-build/#more-56450 -
No, it does not appear to be the "zombie container" issue as reported by Freddy. I am on a newer version than he reported to fix the issue, and I was able to stop and restart the container. I am still unable to connect to the NAV development client or connect via the web or windows clients. I guess the next step is to remove and recreate the container.0
-
On your normal pc try running a "Docker PS" command in your shell and post the output here, this will give your the currency Status of your container.
And this try running a Entry-NAVContainer -ContainerName XX command and check in the SQL service is running.
Last but least try checking the event view of the Container: Get-NavContainerEventLog
What information are your getting out of this?
On a site note: When you are getting more used to docker and the powershell commands, and how it all works, then docker does not seems so stupid, but at first I know it seems like a lot of extra work. It will pay of in the endFor help, do not use PM, use forum instead, perhaps other people have the same question, or better answers.0 -
Hi SanderDk, thanks for your reply!
In the end I decided to delete the container and recreate it. This was quite a good exercise as I think I have got my head around this process a little better now. I pulled down a new image and created a new container.
These posts from Freddy were invaluable....
And also this one which isn't BC related but gives good basic Docker information....
Once I had got my new container up and running I managed to connect to the db via SSMS running on my local machine which was great and made me feel a little more confident. I then managed to connect VSCode and reconfigure my launch.json to point to the new environment. It is actually fun when it works!!
I was interested to see your comment with regards being able to see the services running in the Docker container...And this try running a Entry-NAVContainer -ContainerName XX command and check in the SQL service is running.On a site note: When you are getting more used to docker and the powershell commands, and how it all works, then docker does not seems so stupid, but at first I know it seems like a lot of extra work. It will pay of in the end
Not quite as...
DazedAndConfused0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions