Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a host for docker as in Docker Installation CentOS 7
  2. Get a shell on the docker image

    Code Block
    languagebash
    docker run -i -t --name=centos7-ltb centos /bin/bash
  3. Install and configure the application according to the instructions, e.g. LTB Self Service Password Installation

    Code Block
    rpm --import http://ltb-project.org/wiki/lib/RPM-GPG-KEY-LTB-project
    wget http://tools.ltb-project.org/attachments/download/500/self-service-password-0.8-1.el5.noarch.rpm
    yum install self-service-password-0.8-1.el5.noarch.rpm 
  4. Commit the changes to a new image

    Code Block
    [root@george ~]# docker ps -l
    
    CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS                          PORTS               NAMES
    
    e51153ec60ff        61cff918cede        "/bin/bash"         2 minutes ago       Exited (0) About a minute ago                       ltb                 
    
    [root@george ~]# docker commit e51153ec60ff
    
    
    
  5. Run the docker image

    Code Block
    docker run -d -expose=80 -h george.crbs.ucsd.edu --name="ltb" -P 61cff918cede

 

Info

Content by Label
showLabelsfalse
max5
spacesCRBS
sortmodified
showSpacefalse
reversetrue
typepage
labelsdocker ltb yum