Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Containers
User Name
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.


  Search this Thread
Old 04-24-2018, 02:52 AM   #1
LQ Newbie
Registered: Jan 2018
Posts: 14

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:

version: '3'
   build: .
    - "8080:80"#    
      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, 03:09 PM   #2
LQ Veteran
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,352
Blog Entries: 36

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


containers, docker, lamp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:40 PM
Building LAMP server through source installation abhilashbsstabilix Linux - Newbie 6 08-04-2014 02:23 PM
Building a LAMP server with SSL autheentication and a control panel rooktakespawn Fedora - Installation 3 11-06-2009 05:50 AM
Best Intranet application (on LAMP) for production use zeky Linux - General 1 02-12-2009 04:51 PM
Printing reports from a LAMP application jlinkels Programming 4 03-06-2007 07:48 AM > Forums > Linux Forums > Linux - Containers

All times are GMT -5. The time now is 10:41 AM.

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