Hi Pubudu, <https://docs.docker.com/mac/step_one/>
On Mon, Nov 9, 2015 at 11:00 PM, Pubudu Gunatilaka <[email protected]> wrote: > Hi Gayan, > > It is not referring the base image pom file but the pom file in common > directory. This works fine for me. But if you check the distribution we may > need to fix this properly as we try to build configurator which is not > included in the distribution itself. > > @Reka: We added sudo permission as most of the users may need it when > working with docker. > Are you trying to terminate docker containers? If so you can use following > command with sudo permission. > > docker stop $(docker ps -a -q) > > Once you stop the docker containers you can use following to remove > stopped containers. > > docker rm `docker ps --no-trunc -aq` > Sorry..That was a typo issue. I couldn't execute any docker command as sudo as the "Docker Quickstart Terminal" in Mac starts the docker process terminal as normal user rather than the root. I'm not using Boot2Docker. I have used the latest Docker[1] which seems to have the support for Mac as well. I could execute any docker commands only as the normal user. [1] https://docs.docker.com/mac/step_one/ > > Thank you! > > On Mon, Nov 9, 2015 at 10:30 PM, Reka Thirunavukkarasu <[email protected]> > wrote: > >> Hi Gayan, >> >> Another issue was in Mac is that i was unable to build the docker image >> with sudo permission. Does anyone aware of how to execute docker >> termination from Docker Quickstart Terminal with sudo permission? >> >> Thanks, >> Reka >> >> On Mon, Nov 9, 2015 at 8:05 PM, Gayan Gunarathne <[email protected]> wrote: >> >>> The command that we used to retrieve the configurator_version is not >>> working as we don't have a pom in the base-image.May be we get >>> the configurator_version from parent pom and but seems that command is not >>> working when we point to the parent pom.We may not need to read >>> this configurator_version from the pom? >>> >>> [1] >>> https://github.com/wso2/private-paas-cartridges/blob/master/common/docker/base-image/build.sh#L25 >>> >>> Thanks, >>> Gayan >>> >>> -- >>> >>> Gayan Gunarathne >>> Technical Lead, WSO2 Inc. (http://wso2.com) >>> Committer & PMC Member, Apache Stratos >>> email : [email protected] | mobile : +94 775030545 <%2B94%20766819985> >>> >>> >>> >> >> >> >> -- >> Reka Thirunavukkarasu >> Senior Software Engineer, >> WSO2, Inc.:http://wso2.com, >> Mobile: +94776442007 >> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Pubudu Gunatilaka* > Committer and PMC Member - Apache Stratos > Software Engineer > WSO2, Inc.: http://wso2.com > mobile : +94774079049 <%2B94772207163> > > -- Reka Thirunavukkarasu Senior Software Engineer, WSO2, Inc.:http://wso2.com, Mobile: +94776442007
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
