how to run a daemon process in docker container with API/v1.5?

I’m tring to run a daemon process in the docker container with API/1.5,and here is my POST request, and the containter is created successed while the command seemed run failed,what’s the problem here?pls give me some advance,thanks.

                    "PortSpecs": ["8080:8080"],
                    "Privileged": true,
                            "nc", "-l", "8080"

And here is the response:

  • No space left for new subnet when Docker network get address from Flannel
  • How can Docker run distros with different kernels?
  • Pbs with python tempfile.mkdtemp in gitlab-ci docker
  • Load TensorFlow weights on docker container
  • dial tcp: lookup no such host
  • programmatic access to docker volumes from host
  • HTTP/1.1 201 Created
    Content-Type: application/json
    Content-Length: 113
    Date: Sun, 29 Sep 2013 13:27:52 GMT
    {"Id":"9a880dcbbbda","Warnings":["Your kernel does not support memory swap capabilities. Limitation discarded."]}

    And I tested if the container is running with sudo docker ps -l and showed that:

    ID                  IMAGE               COMMAND                CREATED             STATUS              PORTS
    9a880dcbbbda        base:latest         nc -l 8080    33 seconds ago      Exit 0

  • Protractor running in docker returns element not existing but in localhost does
  • ManageIQ web application inside docker container can’t connect to Hawkular outside container
  • Docker image is not visible when I run docker ps
  • Fail join node to docker swarm
  • Automate service (couchbase) configuration of a docker container
  • CentOS 7 Docker Image and locale compilation
  • One Solution collect form web for “how to run a daemon process in docker container with API/v1.5?”

    The result includes a warning, but it is just a warning, not an error.

    It means that your system cannot limit the memory or swap allocated to the container, and therefore, the container will run without the memory or swap limitation. But other than that, it should be running fine.

    Is there anything indicating that the container is not running correctly?

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.