Docker Logs

Andrew Pruski shows how simple it is to view Docker logs:

I have to run the docker ps command with the -a flag (to show all containers, the default is to only show running containers). Which means my container isn’t running, something’s gone wrong.

So to see what’s happening I can run the docker logs command to see what’s up: –

Click through for an example that Andrew ran through.

Related Posts

New SQL Server 2017 On Windows Docker Container

Perry Skountrianos announces that SQL Server 2017 Developer & Express editions (running Windows Server 1709) are now available on Docker Hub: Windows Server version 1709 brings the following important improvements that developers can take advantage of with the updated container images. First of all, the microsoft/windowsservercore image underneath SQL shrunk by more than 2GB, so the […]

Read More

SQL In Kubernetes On Docker On Windows

Andrew Pruski is two buzzwords away from sending me into sensory overload: Now, if this is the first time working with Kubernetes you won’t have to perform the next couple of steps but just to confirm, run the following: – kubectl config current-context If your shell cannot find the kubectl command, add C:\Program Files\Docker\Docker\Resources\bin\ to […]

Read More

Categories

February 2017
MTWTFSS
« Jan Mar »
 12345
6789101112
13141516171819
20212223242526
2728