Showing posts with label docker. Show all posts
Showing posts with label docker. Show all posts

Sunday, July 10, 2022

MediaWiki docker image

 
 
docker pull mediawiki
docker run --name alw-mediawiki -p 8080:80 -d mediawiki
 
# launch from host browser
http://localhost:8080/
 
follow install screens
sqlite install
 
 
# copy downloaded LocalSettings.php
 
 
docker cp LocalSettings.php [ContainerID]:/var/www/html
 
   

Tuesday, February 22, 2022

Install awesome wm on Alpine Linux Docker

 Install awesome window manager

 

 

https://wiki.alpinelinux.org/wiki/Awesome(wm)_Setup

more /etc/apk/repositories apk add nano
apk add awesome feh lxterminal
apk add lua
apk add adwaita-gtk2-theme adwaita-icon-theme
apk add cairo-gobject pango


 

# save your image 

# from host shell

 docker commit 2240105620b7 baxter/awsm:version01

 

# startx not found

# login to <new user>

 

 

https://thispointer.com/docker-how-to-stop-remove-a-running-container-by-id-or-name/

 

 

 


 

 

 

 

 

Tuesday, September 21, 2021

Using Docker, manage those images

Using Docker 

docker commands used recently: 

docker ps

docker commit 3cabaf05a6d7 baxter/manfish:version3

# host shell
history | grep docker

# stop all running docker images
docker ps -a -q | xargs docker stop
 
# remove images
docker ps -a -q | xargs docker rm
 

# CAUTION
#     remove all images 
docker images -a -q | xargs docker rmi -f
 
 
#
docker commit ca4c29b5d3f3 addnano/hint:v1
 
 
docker network ls
 
 


More

https://linuxhandbook.com/remove-docker-images/


NOT 









Monday, September 20, 2021

Docker Alpine Linux on m1 Apple Silicon

Docker on m1 Apple Silicon

  • Get the Docker.dmg for the m1 (580 MB)
  •  Install Docker
  •  launch Docker (CLI button next to run)

Alpine Linux on Docker

  • pull down the official Alpine Linux image for Docker
  • in your docker shell cli (see above) type:
docker pull alpine 

Alpine Linux 








Wednesday, September 23, 2015

Wordpress dev and Docker on OS X

This was a good step-by-step guide to follow with port forwarding instructions so that you can actually access your Wordpress from the browser on your host (Mac):

How to Use the Official Docker WordPress Image

For the CLI (command line) / terminal averse mac users have Kitematic.  Use it to start and stop docker machine.  It also shows you the available images stored in the docker repository.

The whole point of Docker for me was fast performance on my laptop for Wordpress testing.  YB tested how fast files sync'ed between the Mac and the container running in Virtual box:

A productive development environment with Docker on OS X

1st class citizen on Linux a little less so on OS X.  But still pretty awesome!  Docker's excellent documentation has a nice diagram making that concept clear.