Questions

Find answers to frequently asked development questions. For information about Better Stack products, explore our docs.

/
Popular searches:

How to view syslog in Ubuntu?

Linux has a special directory for storing logs. This directory contains collected logs from the operating system itself, services and other applications running on the system. The actual location d...

Ubuntu
Questions · Better Stack ·  Updated on November 16, 2022

How to view log output using docker-compose run?

You can start Docker compose in detached mode and attach yourself to the logs of all containers later. If you're done watching logs you can detach yourself from the logs output without shutting dow...

Docker
Questions · Better Stack ·  Updated on November 16, 2022

How to run cron jobs every 5, 10, or 30 seconds?

By default, cron checks crontabs for cronjobs every minute. If you want to run a job every n seconds you need to use a simple workaround.

Cron
Questions · Better Stack ·  Updated on November 15, 2022

How to access Redis log file?

As many other services, Redis stores its log in the special log file. The location of the Redis log depends on the type of the installation. With a default apt-get installation on Ubuntu 14.04, Red...

Logging
Questions · Better Stack ·  Updated on November 16, 2022

How To Whitelist Better Uptime IPs on Google Cloud Platform

Learn how to whitelist Better Uptime IPs on Google Cloud and prevent any false incident alerting.

Better Uptime
Questions · Better Stack ·  Updated on May 4, 2022

How To Whitelist Better Uptime IPs on Azure

Learn how to whitelist Better Uptime IPs on Microsoft Azure and prevent any false incident alerting.

Better Uptime
Questions · Better Stack ·  Updated on May 4, 2022

How To Whitelist Better Uptime IPs on AWS

Learn how to whitelist Better Uptime IPs on AWS and prevent any false incident alerting.

Better Uptime
Questions · Better Stack ·  Updated on June 27, 2023

Where to keep SSL certificates and private keys on Ubuntu and Debian?

To list all available CA SSL certificates run the following lines of code:

SSL certificate
Questions · Better Stack ·  Updated on May 4, 2022

Where Are Docker Images Stored on the Host Machine?

If you want to have a quick look at where is Docker storing your Docker images, you can use the docker info command: docker info Output: ... Storage Driver: <driver-name> Docker Root Dir: /var/li...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

Should I Use Vagrant or Docker for Creating an Isolated Environment?

This depends on what exactly you want to do. The short answer would be that if you want to manage virtual machines, you want to use Vagrant. If you want to build and run an application environment,...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

Solved: Unable to configure RSA server private key

This problem may occur if the private key and certificate do not match.

Apache
Questions · Better Stack ·  Updated on January 30, 2024

Solved: SSL_Error_rx_record_too_long

The usual cause is that the implementation of SSL on your server is not correct. The error is usually caused by a server-side problem which the server administrator will need to investigate.

SSL certificate
Error
Questions · Better Stack ·  Updated on May 4, 2022

SSL Certificate Problem: Unable to get Local Issuer Certificate

If you get SSL certificate problem: unable to get local issuer certificate error, it's an indication that your root and intermediate certificates on the system are not working correctly or not set up correctly.

SSL certificate
Error
Questions · Better Stack ·  Updated on May 4, 2022

How to Run a Docker Image as a Container?

Docker runs processes in isolated containers. A container is a process that runs on a host. The host may be local or remote. When an operator executes docker run, the container process that runs is...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

How to Remove Old and Unused Docker Images?

Since the docker version 1.13 you can use the docker prune command to remove all dangling data such as containers stopped, volumes without containers, and images with no containers. To remove dangl...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

How to Remove Old Docker Containers?

You may have found docker rm command to remove a docker container. However, this works only for a single container and it would be very painful to run this command for every non-running docker cont...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

How Do I Pass Environment Variables to Docker Containers?

It is always a good practice to separate the app from its configuration. It is not a good idea to have a database login credential defined as variables in the code of the application. This is why w...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

Solved: NET::ERR_CERT_COMMON_NAME_INVALID

A NET::ERR_CERT_COMMON_NAME_IN error occurs when the domain the SSL certificate is installed on is not listed on the certificate (either as the common name, subject alternative name or covered by a wildcard).

SSL certificate
Error
Questions · Better Stack ·  Updated on May 4, 2022

How to Mount a Host Directory in a Docker Container?

If you want to mound a host directory in a Docker container, you have to main ways to do that: Using the ADD command: The simplest way is to use the dockers ADD command as shown below: ADD . /path/...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

How to List Containers in Docker?

Running containers If you want to list all the running docker containers, you can use the docker container ls command, which takes the following form: docker container ls This command is valid on a...

Docker
Questions · Better Stack ·  Updated on August 1, 2022

Showing 41 to 60 of 107 results

Make your mark

Join the writer's program

Are you a developer and love writing and sharing your knowledge with the world? Join our guest writing program and get paid for writing amazing technical guides. We'll get them to the right readers that will appreciate them.

Write for us
Writer of the month
Marin Bezhanov
Marin is a software engineer and architect with a broad range of experience working...
Build on top of Better Stack

Write a script, app or project on top of Better Stack and share it with the world. Make a public repository and share it with us at our email.

[email protected]

or submit a pull request and help us build better products for everyone.

See the full list of amazing projects on github

Thank you to everyone who
makes this possible!

Here is to all the fantastic people that are contributing and sharing their amazing projects: Thank you!