[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #27343 [Core Tor/sbws]: Dockerfile for sbws basic install



#27343: Dockerfile for sbws basic install
---------------------------+--------------------------------
 Reporter:  gabe           |          Owner:  (none)
     Type:  enhancement    |         Status:  needs_revision
 Priority:  Medium         |      Milestone:
Component:  Core Tor/sbws  |        Version:
 Severity:  Normal         |     Resolution:
 Keywords:                 |  Actual Points:
Parent ID:                 |         Points:
 Reviewer:                 |        Sponsor:
---------------------------+--------------------------------

Comment (by gabe):

 Simple build steps:

 1. install docker, ensure it works.

 2. Create a directory for your build file, in my case ~/containers/debian-
 sbws

 3. cd ~/containers/debian-sbws

 4. sudo docker build -t sbws .

 5. run the container with:

 {{{
 sudo docker run -it --rm sbws
 {{{

 Note that this is just a test sample... And that it's broken due to no
 config.


 {{{
 grocha@mordor:~/containers/debian-sbws$ sudo docker run -it --rm sbws
 Traceback (most recent call last):
   File "/usr/lib/python3.5/logging/handlers.py", line 823, in
 _connect_unixsocket
     self.socket.connect(address)
 FileNotFoundError: [Errno 2] No such file or directory

 During handling of the above exception, another exception occurred:

 Traceback (most recent call last):
   File "/usr/local/bin/sbws", line 11, in <module>
     sys.exit(main())
   File "/usr/local/lib/python3.5/dist-packages/sbws/sbws.py", line 53, in
 main
     configure_logging(args, conf)
   File "/usr/local/lib/python3.5/dist-packages/sbws/util/config.py", line
 160, in configure_logging
     logging.config.fileConfig(fd.name)
   File "/usr/lib/python3.5/logging/config.py", line 84, in fileConfig
     handlers = _install_handlers(cp, formatters)
   File "/usr/lib/python3.5/logging/config.py", line 148, in
 _install_handlers
     h = klass(*args)
   File "/usr/lib/python3.5/logging/handlers.py", line 806, in __init__
     self._connect_unixsocket(address)
   File "/usr/lib/python3.5/logging/handlers.py", line 834, in
 _connect_unixsocket
     self.socket.connect(address)
 FileNotFoundError: [Errno 2] No such file or directory

 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27343#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs