GithubHelp home page GithubHelp logo

docker-projects's Introduction

Docker-projects

Prerequisites for running angular app using docker-compose:

1)Node.js should be installed 2)Angular cli should be installed

After step (1) and (2), run the below commands:

   mkdir /angular [ any name of your choice ]
   cd /angular
   ng new angular-learn [ any name of your choice ]
   cd angular-learn
   --create the Dockerfile--
   cd ../
   --create the docker-compose.yml file and use 'docker-compose up'--

If there are any npm ERRORS, fix it by following the below steps:

Run the command:

  ping registry.npmjs.org
    Output:- PING registry.npmjs.org IP ## bytes of data
  vim /etc/hosts
  IP registry.npmjs.org [ add this line to the file and save it ]

If you are unable to run Joomla, I suggest you to remove all the containers by using docker rm -f $(docker ps -a -q) and retry.

If you are using virtual machines( guest OS ) and want to access them on your host OS ( Bare Metal ) and if you are getting an error in the web browser use systemctl stop firewalld for a while and reload the web page. NOTE:- while using 'docker-compose up' the firewall should be enabled otherwise you will get an error = systemctl start firewalld

docker-projects's People

Contributors

shiv2110 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.