LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Containers
User Name
Password
Linux - Containers This forum is for the discussion of all topics relating to Linux containers. Docker, LXC, LXD, runC, containerd, CoreOS, Kubernetes, Mesos, rkt, and all other Linux container platforms are welcome.

Notices


Reply
  Search this Thread
Old 04-24-2018, 01:52 AM   #1
Shr0912
LQ Newbie
 
Registered: Jan 2018
Posts: 15

Rep: Reputation: Disabled
Dockerizing and building CI/CD LAMP application


I am working on building automated CI/CD pipeline for LAMP application using docker.

I want image to be spinned into 5 containers, so that 5 different developers can work on their code. Can this be atained? I tried it using replicas, but it didnt worked out. Below is the docker-compose file which i used:

Code:
version: '3'
services:
  web:
   build: .
   ports:
    - "8080:80"#    
deploy:
      mode: replicated
      replicas: 4

Also, from different container, can developers push, pull and commit to git? Will work done in one container will get lost if image is rebuild or run?

What things should i actually take care of while building this pipeline.
 
Old 04-24-2018, 02:09 PM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Yes. That can be done.
Stuff has changed lots since I banged this out.
Five minute Wordpress in a Docker container.

Get Started, Part 1: Orientation and setup

https://www.google.com/search?q=auto...n+using+docker
 
  


Reply

Tags
containers, docker, lamp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
About building/installing PHP7 along with native PHP 5.6.x in LAMP? Darth Vader Slackware 3 05-25-2016 08:40 PM
Building LAMP server through source installation abhilashbsstabilix Linux - Newbie 6 08-04-2014 01:23 PM
Building a LAMP server with SSL autheentication and a control panel rooktakespawn Fedora - Installation 3 11-06-2009 04:50 AM
Best Intranet application (on LAMP) for production use zeky Linux - General 1 02-12-2009 03:51 PM
Printing reports from a LAMP application jlinkels Programming 4 03-06-2007 06:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 02:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration