Installing Puppet/Foreman With Docker
1. Pull Foreman Image from Docker Hub.
[root@server.example.com ~]# docker pull foreman/foreman:nightly
2. Check the Docker Images.
[root@server.example.com ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
centos latest 05188b417f30 2 weeks ago 196.8 MB
hello-world latest c54a2cc56cbb 2 weeks ago 1.848 kB
foreman/foreman nightly bee7d3d9678e 20 months ago 1.186 GB
[root@server.example.com ~]#
3. Run the Docker image.
[root@server.example.com ~]# docker run -ti -h foreman.local -p 192.168.0.4:8443:443 foreman/foreman:nightly
Installing Done [100%] [..........................................]
Success!
* Foreman is running at https://foreman.local
Initial credentials are admin / changeme
* Foreman Proxy is running at https://foreman.local:8443
* Puppetmaster is running at port 8140
The full log is at /var/log/foreman-installer/foreman-installer.log
Parameters: {"apiv"=>"v2", "id"=>"34", "smart_proxy"=>{}}
Authorized user foreman_api_admin(API Admin)
Completed 200 OK in 195ms (Views: 0.5ms | ActiveRecord: 0.0ms)
Started GET "/node/foreman.local?format=yml" for 172.17.0.2 at 2016-07-19 09:30:12 +0100
Processing by HostsController#externalNodes as YML
Parameters: {"name"=>"foreman.local"}
Rendered text template (0.0ms)
Completed 200 OK in 292ms (Views: 3.9ms | ActiveRecord: 15.3ms)
4. Now access the Foreman Dashboard at https:// 192.168.0.4:8443
No comments