$ cd /path/to/Dockerfile
$ sudo docker build .
View running processes
from typing import Iterable, List | |
def parse_line(line: str) -> List[str]: | |
words = list() | |
quote_character = None | |
escaped = False | |
word = "" |
Credits go to https://docs.docker.com/registry/recipes/nginx/ and http://mindtrove.info/control-read-write-access-docker-private-registry/
Follow the steps on https://docs.docker.com/registry/recipes/nginx/ with docker-compose.yml and nginx.conf below.
Run the following for admin UI:
docker run \
# docker is apparently using the range of 172.16.0.0/12 for networking by default | |
# | |
# and Nette by default routes and redirects based on remote addresses in $_SERVER, | |
# which means that it redirects using the internal ports, e.g., 8080, which are in | |
# most cases different from mapped ports | |
# | |
# though Nette can be instructed to trust the forwarded values, using its http.proxy | |
# configuration, to use the forwarded values (in routing and redirects) the remote | |
# has to be specified as a trusted proxy | |
# |
<?php | |
namespace App\Model; | |
class ToStringObject { | |
private $data; | |
private $primaryKey; |