permission denied error in docker

I create the docker image but I am trying to give a parameter to the docker image but I am getting an permission denied error on my file.

Docker File:

  • Run docker - Error parsing reference
  • when doing docker compose, is it possible to keep previous docker composition
  • Assign different public IPs to different Docker container
  • Docker host-mounted volume permissions
  • How to execute commands in docker container as part of bash shell script
  • Build Meteor in Docker cannot pass proxy setting
  • FROM ubuntu
    MAINTAINER  ravat  
    RUN mkdir -p /home/ravata/Desktop/DockerDemo/
    RUN echo “Hello Apache server on Ubuntu Docker” > /home/ravata/Desktop/DockerDemo/index.html
    COPY .
    CMD /bin/bash

    #!/bin/bash -l
    echo $1

    I built the docker image with command:- docker build -t docker-demo .
    Now I am trying to provide parameter to docker Image to run :- docker run -ti docker-demo / ravat

  • Nginx in Docker terminates directly
  • Kubernetes pod fails while making call to google cloud pub/sub with unknown certificate autority
  • Docker run override entrypoint with shell script which accepts arguments
  • Docker ignores ENTRYPOINT
  • Add Seeds file after Dokku build
  • Access Docker features when using Vagrant
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.