963 shaares
21 results
tagged
docker
The Ultimate Docker Command List
A curated list of Docker commands that’ll save you hours in debugging and scouting Stack Overflow
A curated list of Docker commands that’ll save you hours in debugging and scouting Stack Overflow
Changing time in Docker container configuration is a task we perform as a part of this service. Here, we’ll see the different ways to do that.
A tool for exploring a docker image, layer contents, and discovering ways to shrink your Docker image size.
The build context is the set of files located at the specified PATH or URL. Those files are sent to the Docker daemon during the build so it can use them in the filesystem of the image.
docker exec -it mariadb bash
mysql
produces the following error message: TERM environment variable not set.
Unsure why since echo $TERM returns dumb and issuing export TERM=dumb resolves issue.
If the environment variable is explicitly issued in the dockerfile, the error message never appears, i.e. adding ENV TERM dumb
mysql
produces the following error message: TERM environment variable not set.
Unsure why since echo $TERM returns dumb and issuing export TERM=dumb resolves issue.
If the environment variable is explicitly issued in the dockerfile, the error message never appears, i.e. adding ENV TERM dumb
Simple solution to scale a web service with Haproxy : dockercloud/haproxy containers.
If you are new to docker, and if you have taken over a system that already has docker application running, you should at least know how to maintain it.
This quick tutorial explains how to start, stop, remove, restart, and view status of docker container application using docker-compose.
docker-compose is very helpful when you are managing a complex multi container docker application.
This quick tutorial explains how to start, stop, remove, restart, and view status of docker container application using docker-compose.
docker-compose is very helpful when you are managing a complex multi container docker application.
QNAP Container Station
QNAP Container Station is a application on QNAP NAS providing container technology (operating system-level virtualization [1]). It’s mainly included a web UI, a back-end RESTful API server and essential utilities, such as commands lxc-* and docker.
QNAP Container Station is a application on QNAP NAS providing container technology (operating system-level virtualization [1]). It’s mainly included a web UI, a back-end RESTful API server and essential utilities, such as commands lxc-* and docker.
Docker is quickly becoming mainstream, as a method to package and deploy self-sufficient applications in primarily stateless Linux containers. But for a stateful service like a database, this might be bit of a headache. How do we best configure MySQL in a container environment? What can go wrong? Should we even run our databases in a container environment? How does performance compare with e.g. running on virtual machines or bare-metal servers? How do we manage replicated or clustered setups, where multiple containers need to be created, upgraded and made highly available ?
Présentation d'une docker Debian de base (avec notamment les instructions pour la francisation)
Apache and PHP on Docker
There are a fair number of references for how to get Apache and PHP running on Docker. However, none of them worked out of the box for me, so here’s a consolidated set of instructions that worked for me.
There are a fair number of references for how to get Apache and PHP running on Docker. However, none of them worked out of the box for me, so here’s a consolidated set of instructions that worked for me.
This is what runlike does. You give it a docker container, it outputs the command line necessary to run another one just like it, along with all those pesky options (ports, links, volumes, ...). It's a real time saver for those that normally deploy their docker containers via some CM tool like Ansible/Chef and then find themselves needing to manually re-run some container.
ully-functional Jupyter Notebook 5.0.x
Miniconda Python 3.x
No preinstalled scientific computing packages
Unprivileged user jovyan (uid=1000, configurable, see options) in group users (gid=100) with ownership over /home/jovyan and /opt/conda
tini as the container entrypoint and start-notebook.sh as the default command
A start-singleuser.sh script useful for running a single-user instance of the Notebook server, as required by JupyterHub
A start.sh script useful for running alternative commands in the container (e.g. ipython, jupyter kernelgateway, jupyter lab)
Options for a self-signed HTTPS certificate and passwordless sudo
Miniconda Python 3.x
No preinstalled scientific computing packages
Unprivileged user jovyan (uid=1000, configurable, see options) in group users (gid=100) with ownership over /home/jovyan and /opt/conda
tini as the container entrypoint and start-notebook.sh as the default command
A start-singleuser.sh script useful for running a single-user instance of the Notebook server, as required by JupyterHub
A start.sh script useful for running alternative commands in the container (e.g. ipython, jupyter kernelgateway, jupyter lab)
Options for a self-signed HTTPS certificate and passwordless sudo
Getting a notification that Docker containers are down in production is one of the worst ways to spend your night. In today’s article, we’ll discuss how to use Docker’s restart policy to automatically restart containers and avoid those late-night notifications.
Voir aussi :
http://stackoverflow.com/questions/23935141/how-to-copy-docker-images-from-one-host-to-another-without-via-repository
pour déplacer les images d'un host à un autre
http://stackoverflow.com/questions/23935141/how-to-copy-docker-images-from-one-host-to-another-without-via-repository
pour déplacer les images d'un host à un autre
Often considered two alternative tools, Docker and Vagrant can be used together to build isolated and repeatable development environments. We will prove it setting up a Docker container for development of a Java application and taking advantage of Vagrant powerful features to solve some real life practical issues.
Docker containers are spreading fast. They're sneaking into our development environments, production servers, and the proliferation of links in this post emphasizes how hot the topic currently is. Containers encapsulate applications into a portable machine you can easily build, control and ship. It brings most of the modern services just one command away, clean development environments, and agile production infrastructure, to name a few of the benefits. While getting started is insanely easy, real life applications can be tricky when you try to push a bit on the boundaries. In this post, we're going to study how to provision docker containers, prototyping along the way our very own image builder. Hopefully, by the end of this post, you should get a good idea of the challenges and opportunities involved.
As of today, docker hub features 15,000 images and the most popular one was downloaded 3.588.280 times. We better be good at crafting them!
As of today, docker hub features 15,000 images and the most popular one was downloaded 3.588.280 times. We better be good at crafting them!