• Mesosphere DC/OS 1.12
  • Mesosphere DC/OS 1.11
  • Mesosphere DC/OS 1.10
  • Mesosphere DC/OS 1.9

Mesosphere DC/OS 1.10

  • Release Notes
    • Release Notes for 1.10.11
    • Release Notes for 1.10.10
    • Release Notes for 1.10.9
    • Release Notes for 1.10.8
    • Release Notes for 1.10.7
    • Release Notes for 1.10.6
    • Release Notes for 1.10.5
    • Release Notes for 1.10.4
    • Release Notes for 1.10.3
    • Release Notes for 1.10.2
    • Release Notes for 1.10.1
    • Release Notes for 1.10.0
    • Release Notes for 1.10.0 Release Candidate 1
    • Release Notes for 1.10.0 Beta 2
    • Release Notes for 1.10.0 Beta 1
    • Mesosphere DC/OS Open Source Attribution
    • Mesosphere Versioning and Release Policy
  • Overview
    • What is DC/OS?
    • Architecture
      • Node Types
      • Task Types
      • Components
      • Distributed Process Management
      • Boot Sequence
    • Features
    • Concepts
    • High Availability
    • Telemetry
    • Design
      • ACS
      • Authentication Architecture
      • Distributed DNS
      • Installation
      • Overlay
    • Feature Maturity
  • Installing
    • Cloud Installation
      • AWS
        • Advanced AWS
      • Azure
        • Advanced Azure
      • GCP
        • Advanced GCP
      • Other Installation methods
        • AWS
          • Basic
          • Advanced
            • Template Reference
          • Uninstalling
        • Azure
        • DigitalOcean
        • Packet
    • On-Prem Installation
      • Virtual Infrastructure
      • System Requirements
        • Docker on CentOS/RHEL
        • Ports
        • Custom AMI
        • Azure
      • Deploying DC/OS
        • Configuration
          • Examples
        • Production Installation
        • Opt-Out
        • Node and Cluster Health Checks
      • Advanced Configuration
        • Configuration Reference
        • Configuring GPU nodes
        • Configuring Zones and Regions
          • Multiple Zones
          • Multiple Regions
      • Patching
      • Upgrading
      • Uninstalling
    • Frequently Asked Questions
    • Troubleshooting
  • GUI
    • Dashboard
    • Services
    • Jobs
    • Catalog
    • Nodes
    • Networking
    • Secrets
    • Overview
    • Components
    • Settings
    • Organization
  • CLI
    • Installing the CLI
    • Configuring the CLI
    • Connecting to Multiple Clusters
    • Updating the CLI
    • Uninstalling the CLI
    • Command Reference
      • dcos
      • dcos auth
        • dcos auth list-providers
        • dcos auth login
        • dcos auth logout
      • dcos cluster
        • dcos cluster attach
        • dcos cluster list
        • dcos cluster remove
        • dcos cluster rename
        • dcos cluster setup
      • dcos config
        • dcos config set
        • dcos config show
        • dcos config unset
        • dcos config validate
      • dcos experimental
        • dcos experimental add
        • dcos experimental package build
        • dcos experimental service start
      • dcos help
      • dcos job
        • dcos job add
        • dcos job history
        • dcos job kill
        • dcos job list
        • dcos job remove
        • dcos job run
        • dcos job schedule add
        • dcos job schedule remove
        • dcos job schedule show
        • dcos job schedule update
        • dcos job show
        • dcos job show runs
        • dcos job update
      • dcos marathon
        • dcos marathon about
        • dcos marathon app add
        • dcos marathon app kill
        • dcos marathon app list
        • dcos marathon app remove
        • dcos marathon app restart
        • dcos marathon app show
        • dcos marathon app start
        • dcos marathon app stop
        • dcos marathon app update
        • dcos marathon app version list
        • dcos marathon debug details
        • dcos marathon debug list
        • dcos marathon debug summary
        • dcos marathon deployment list
        • dcos marathon deployment rollback
        • dcos marathon deployment stop
        • dcos marathon deployment watch
        • dcos marathon group add
        • dcos marathon group list
        • dcos marathon group remove
        • dcos marathon group scale
        • dcos marathon group show
        • dcos marathon group update
        • dcos marathon pod add
        • dcos marathon pod kill
        • dcos marathon pod list
        • dcos marathon pod remove
        • dcos marathon pod show
        • dcos marathon pod update
        • dcos marathon task list
        • dcos marathon task show
        • dcos marathon task stop
      • dcos node
        • dcos node diagnostics
        • dcos node diagnostics create
        • dcos node diagnostics delete
        • dcos node diagnostics download
        • dcos node list-components
        • dcos node log
        • dcos node ssh
      • dcos package
        • dcos package describe
        • dcos package install
        • dcos package list
        • dcos package repo add
        • dcos package repo list
        • dcos package repo remove
        • dcos package search
        • dcos package uninstall
        • dcos package update
      • dcos service
        • dcos service log
        • dcos service shutdown
      • dcos task
        • dcos task exec
        • dcos task log
        • dcos task ls
    • DC/OS Enterprise CLI
  • Administering Clusters
    • SSHing into Nodes
    • Finding a Public Agent IP
    • Component Management
    • Backup and Restore
      • Backup and Restore CLI
      • Backup and Restore API
    • Securing a Cluster
    • Managing AWS
    • Managing Package Repositories
    • Converting Agent Node Types
    • Adding Agent Nodes
    • Replace a master node
    • Updating Nodes
    • Recovering Agent Disk Space
    • Deploying a Local Universe
  • Networking
    • Load Balancing and Virtual IPs (VIPs)
      • Using Virtual IP Addresses
      • Virtual Networks
    • Mesos-DNS
      • Service Naming
      • Mesos DNS API
      • Exposing Mesos Zones Outside
      • Troubleshooting
    • Virtual Networks
      • Configuring IP-per-Container in Virtual Networks
      • CNI Plugin Support
    • DNS Quick Reference
  • Security
    • DC/OS Open Source Security
      • Authentication HTTP API Endpoint
      • Managing Authentication
      • Adding Users Manually
      • User Management
      • Securing communication with TLS
        • HAProxy in Front of Admin Router
    • DC/OS Enterprise Security
      • Managing users and groups
        • Adding local users
        • Adding external users
        • Resetting the Superuser
        • Overriding the default Linux user
      • Granting Access to the GUI
        • Granting Access to the Services Tab
        • Granting Access to the Jobs Tab
        • Granting Access to the Mesos UI
        • Granting Access to the Marathon UI
        • Granting Access to the Networking Tab
        • Granting Access to the Secrets Tab
        • Granting Access to the Components Tab
        • Granting Access to the Settings and Organization tabs
        • Granting Access to the Catalog Tab
      • Permissions Management
      • Permissions Reference
      • Directory-based authentication via LDAP
        • Configuring the LDAP connection
        • Specifying authentication method and parameters
        • Verifying the LDAP connection
      • Secrets
        • Creating secrets
        • Configuring services and pods to use secrets
        • Sealing the Secret Store
        • Unsealing the Secret Store
        • Secrets API
      • Identity provider-based authentication
        • Adding a SAML identity provider
        • Adding an OpenID Connect identity provider
      • Service Authentication
        • Authenticating DC/OS Services
        • Managing JSON Web Tokens
      • Tutorial – Restricting Access to DC/OS Service Groups
      • Hardening
      • Identity and Access Management API
      • Securing communication with TLS
        • Configuring HAProxy in Front of Admin Router
        • Using a Custom CA Certificate
        • Obtaining the DC/OS CA bundle
        • Configuring browsers to trust your DC/OS CA
        • Configuring the DC/OS CLI to trust your DC/OS CA
        • Establishing trust in your curl commands
        • Certificate Authority API
  • Storage
    • Mount Disk Resources
    • NFS Server
    • Local Persistent Volumes
    • External Persistent Volumes
  • Metrics
    • Quick Start
    • Metrics API
    • Metrics Reference
    • Sending DC/OS Metrics to Datadog
    • Sending DC/OS Metrics to Prometheus
  • Monitoring, Logging, and Debugging
    • Performance Monitoring
      • Monitoring with Nagios
    • Logging
      • Quick Start
      • Accessing system and component logs
      • Configuring Task Log Output and Retention
      • Controlling Access to Task Logs
      • Log Aggregation
        • Log Management with ELK
        • Filtering Logs with ELK
        • Log Management with Splunk
        • Filtering Logs with Splunk
      • Logging API
      • Logging API Examples
    • Debugging
      • Debugging from the DC/OS Web Interface
      • Granting Access to dcos task exec
      • Debugging from the DC/OS CLI
      • Using dcos task exec
      • Stuck Deployments
      • Slow Docker Apps and Deployments
  • Deploying Jobs
    • Creating Jobs
    • Examples
    • Granting Access to Jobs
  • Deploying Services and Pods
    • Installing Services
    • Marathon Configuration Reference
    • Creating Services
      • Deploying a Docker-based Service
      • Health Checks
    • Task Handling
      • Configure Task Handling
    • Configuring Universe Services
    • Granting Access to Services and Groups
    • Monitoring Services
    • Scaling a Service
    • Service Endpoints
    • Service Ports
    • Updating a User-Created Service
    • Using a Private Docker Registry
    • Deployments
    • Exposing a Service
    • Uninstalling Services
    • Package Management API
    • Using Custom Marathon
      • Deploying Services Using a Custom Marathon
      • Deploying Services using a Custom Marathon with Security Features
    • Marathon API
    • Using Containerizers
      • Universal Container Runtime (UCR)
      • Docker Engine
    • Pods
      • Quick Start
      • Technical Overview
      • Using Pods
      • Examples
    • Using GPUs
    • Frequently Asked Questions
  • Tutorials
    • DC/OS 101
      • First Steps
      • Installing First Package
      • Deploying First Application
      • Service Discovery
      • Native Applications
      • Exposing Apps Publicly
      • Understanding Resources
      • Load-Balancing
    • Creating and Running a Service
    • Running Stateful Services
    • Deploying a Load-Balanced Data Pipeline
    • Autoscaling with Marathon
      • Autoscaling Marathon services using CPU and memory
      • Autoscaling using requests per second
      • Microscaling
    • Deploying Marathon Apps with Jenkins
    • Labeling Tasks and Jobs
  • API Reference
    • Cluster Access
    • API Versioning
    • Master Routes
    • Agent Routes
  • Developing DC/OS Services
    • CLI Specification
    • Access by Proxy and VPN using DC/OS Tunnel
Terms of ServicePrivacy Policy
© 2019 Mesosphere, Inc. All rights reserved.
MesosphereMesosphere
MesosphereDC/OS Docs
  • DC/OS Docs
  • Service Docs
  • Support
English
  • 中文 (简体)
  • DC/OS Docs
  • Service Docs
  • Support

Debugging

PREVIEW

  • Share
  • Print
  • Contribute
  • Discuss
  • Feedback

DC/OS offers several tools to debug your services when they are stuck in deployment or are not behaving as you expect. This topic discusses how to debug your services using both the DC/OS CLI and the DC/OS web interface.

Debugging from the DC/OS Web Interface

You can debug your service or pod from the DC/OS web interface.…Read More

Granting Access to dcos task exec

ENTERPRISE

You can grant users access to containers for debugging sessions.…Read More

Debugging from the DC/OS CLI

The DC/OS CLI provides commands to debug services that are not deploying or behaving as expected.…Read More

Using dcos task exec

The dcos task exec command allows you to execute an arbitrary command inside of a task’s container and stream its output back to your local terminal to learn more about how a given task is behaving. It offers an experience very similar to docker exec, without any need for SSH keys.…Read More

Stuck Deployments

DC/OS services or pods may fail to deploy because the Mesos resource offers are unable to match the resources requests coming from the service or pods Marathon application definitions.…Read More

Slow Docker Apps and Deployments

If you recently upgraded to DC/OS 1.10 or configured MESOS_CGROUPS_ENABLE_CFS=true in your Mesos agent configuration, you may see slow-running Docker applications or slow deployments.…Read More